#[non_exhaustive]pub struct MemoryImportEntry {
pub value: String,
pub tags: Option<Vec<String>>,
pub valid_at: Option<Option<String>>,
pub source_trace: Option<String>,
pub category: Option<String>,
pub sensitivity: Option<MemoryImportEntrySensitivity>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: String§valid_at: Option<Option<String>>§source_trace: Option<String>§category: Option<String>§sensitivity: Option<MemoryImportEntrySensitivity>Implementations§
Source§impl MemoryImportEntry
impl MemoryImportEntry
pub fn new(value: impl Into<String>) -> Self
pub fn valid_at(self, valid_at: impl Into<String>) -> Self
pub fn valid_at_null(self) -> Self
pub fn source_trace(self, source_trace: impl Into<String>) -> Self
pub fn category(self, category: impl Into<String>) -> Self
pub fn sensitivity(self, sensitivity: MemoryImportEntrySensitivity) -> Self
Trait Implementations§
Source§impl Clone for MemoryImportEntry
impl Clone for MemoryImportEntry
Source§impl Debug for MemoryImportEntry
impl Debug for MemoryImportEntry
Source§impl<'de> Deserialize<'de> for MemoryImportEntry
impl<'de> Deserialize<'de> for MemoryImportEntry
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 PartialEq for MemoryImportEntry
impl PartialEq for MemoryImportEntry
Source§impl Serialize for MemoryImportEntry
impl Serialize for MemoryImportEntry
impl StructuralPartialEq for MemoryImportEntry
Auto Trait Implementations§
impl Forget for MemoryImportEntry
impl Freeze for MemoryImportEntry
impl Move for MemoryImportEntry
impl RefUnwindSafe for MemoryImportEntry
impl Send for MemoryImportEntry
impl Sync for MemoryImportEntry
impl Unpin for MemoryImportEntry
impl UnsafeUnpin for MemoryImportEntry
impl UnwindSafe for MemoryImportEntry
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