pub struct SearchSnippetGetResponse { /* private fields */ }
Implementations§
Source§impl SearchSnippetGetResponse
impl SearchSnippetGetResponse
pub fn account_id(&self) -> &str
pub fn snippet(&self, id: &str) -> Option<&SearchSnippet>
pub fn list(&self) -> &[SearchSnippet]
pub fn not_found(&self) -> Option<&[String]>
Trait Implementations§
Source§impl Clone for SearchSnippetGetResponse
impl Clone for SearchSnippetGetResponse
Source§fn clone(&self) -> SearchSnippetGetResponse
fn clone(&self) -> SearchSnippetGetResponse
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 SearchSnippetGetResponse
impl Debug for SearchSnippetGetResponse
Source§impl<'de> Deserialize<'de> for SearchSnippetGetResponse
impl<'de> Deserialize<'de> for SearchSnippetGetResponse
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
Auto Trait Implementations§
impl Freeze for SearchSnippetGetResponse
impl RefUnwindSafe for SearchSnippetGetResponse
impl Send for SearchSnippetGetResponse
impl Sync for SearchSnippetGetResponse
impl Unpin for SearchSnippetGetResponse
impl UnwindSafe for SearchSnippetGetResponse
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