Struct relay_event_schema::protocol::NativeImagePath
source · pub struct NativeImagePath(pub String);
Expand description
A type for strings that are generally paths, might contain system user names, but still cannot be stripped liberally because it would break processing for certain platforms.
Those strings get special treatment in our PII processor to avoid stripping the basename.
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl Clone for NativeImagePath
impl Clone for NativeImagePath
source§fn clone(&self) -> NativeImagePath
fn clone(&self) -> NativeImagePath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NativeImagePath
impl Debug for NativeImagePath
source§impl<'de> Deserialize<'de> for NativeImagePath
impl<'de> Deserialize<'de> for NativeImagePath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Empty for NativeImagePath
impl Empty for NativeImagePath
source§impl<T: Into<String>> From<T> for NativeImagePath
impl<T: Into<String>> From<T> for NativeImagePath
source§fn from(value: T) -> NativeImagePath
fn from(value: T) -> NativeImagePath
Converts to this type from the input type.
source§impl FromValue for NativeImagePath
impl FromValue for NativeImagePath
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for NativeImagePath
impl IntoValue for NativeImagePath
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl PartialEq for NativeImagePath
impl PartialEq for NativeImagePath
source§impl ProcessValue for NativeImagePath
impl ProcessValue for NativeImagePath
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
meta: &mut Meta,
processor: &mut P,
state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
meta: &mut Meta,
processor: &mut P,
state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
_processor: &mut P,
_state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
_processor: &mut P,
_state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
source§impl Serialize for NativeImagePath
impl Serialize for NativeImagePath
impl StructuralPartialEq for NativeImagePath
Auto Trait Implementations§
impl Freeze for NativeImagePath
impl RefUnwindSafe for NativeImagePath
impl Send for NativeImagePath
impl Sync for NativeImagePath
impl Unpin for NativeImagePath
impl UnwindSafe for NativeImagePath
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)