#[non_exhaustive]pub struct SearchEntriesResult {
pub linked_resource: String,
pub dataplex_entry: Option<Entry>,
pub snippets: Option<Snippets>,
/* private fields */
}Expand description
A single result of a SearchEntries request.
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.linked_resource: String👎Deprecated
Linked resource name.
dataplex_entry: Option<Entry>§snippets: Option<Snippets>👎Deprecated
Snippets.
Implementations§
Source§impl SearchEntriesResult
impl SearchEntriesResult
pub fn new() -> Self
Sourcepub fn set_linked_resource<T: Into<String>>(self, v: T) -> Self
👎Deprecated
pub fn set_linked_resource<T: Into<String>>(self, v: T) -> Self
Sets the value of linked_resource.
Sourcepub fn set_dataplex_entry<T>(self, v: T) -> Self
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
pub fn set_or_clear_dataplex_entry<T>(self, v: Option<T>) -> Self
Sets or clears the value of dataplex_entry.
Sourcepub fn set_snippets<T>(self, v: T) -> Self
👎Deprecated
pub fn set_snippets<T>(self, v: T) -> Self
Sets the value of snippets.
Trait Implementations§
Source§impl Clone for SearchEntriesResult
impl Clone for SearchEntriesResult
Source§fn clone(&self) -> SearchEntriesResult
fn clone(&self) -> SearchEntriesResult
Returns a duplicate 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 SearchEntriesResult
impl Debug for SearchEntriesResult
Source§impl Default for SearchEntriesResult
impl Default for SearchEntriesResult
Source§fn default() -> SearchEntriesResult
fn default() -> SearchEntriesResult
Returns the “default value” for a type. Read more
Source§impl Message for SearchEntriesResult
impl Message for SearchEntriesResult
Source§impl PartialEq for SearchEntriesResult
impl PartialEq for SearchEntriesResult
impl StructuralPartialEq for SearchEntriesResult
Auto Trait Implementations§
impl Freeze for SearchEntriesResult
impl RefUnwindSafe for SearchEntriesResult
impl Send for SearchEntriesResult
impl Sync for SearchEntriesResult
impl Unpin for SearchEntriesResult
impl UnwindSafe for SearchEntriesResult
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