#[non_exhaustive]pub struct Snippets {
pub dataplex_entry: Option<Entry>,
/* private fields */
}๐Deprecated
Expand description
Snippets for the entry, contains HTML-style highlighting for matched tokens, will be used in UI.
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.dataplex_entry: Option<Entry>๐Deprecated
Entry
Implementationsยง
Sourceยงimpl Snippets
impl Snippets
pub fn new() -> Self
Sourcepub fn set_dataplex_entry<T>(self, v: T) -> Self
๐Deprecated
pub fn set_dataplex_entry<T>(self, v: T) -> Self
Sets the value of dataplex_entry.
Sourcepub fn set_or_clear_dataplex_entry<T>(self, v: Option<T>) -> Self
๐Deprecated
pub fn set_or_clear_dataplex_entry<T>(self, v: Option<T>) -> Self
Sets or clears the value of dataplex_entry.
Trait Implementationsยง
impl StructuralPartialEq for Snippets
Auto Trait Implementationsยง
impl Freeze for Snippets
impl RefUnwindSafe for Snippets
impl Send for Snippets
impl Sync for Snippets
impl Unpin for Snippets
impl UnwindSafe for Snippets
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