#[non_exhaustive]pub struct SearchSnippetGetResponse {
pub account_id: Id,
pub list: Vec<SearchSnippet>,
pub not_found: Option<Vec<Id>>,
pub extra: Map<String, Value>,
}Expand description
RFC 8621 §5.1 — SearchSnippet/get response.
Not a standard RFC 8620 §5.1 /get response: there is no state, and
notFound is Id[]|null.
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.account_id: IdThe account used for the call.
list: Vec<SearchSnippet>One snippet per requested Email id, in no particular order.
not_found: Option<Vec<Id>>Requested Email ids the server could not find, or None if all
were found.
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).
Trait Implementations§
Source§impl Clone for SearchSnippetGetResponse
impl Clone for SearchSnippetGetResponse
Source§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
Source§impl PartialEq for SearchSnippetGetResponse
impl PartialEq for SearchSnippetGetResponse
Source§impl Serialize for SearchSnippetGetResponse
impl Serialize for SearchSnippetGetResponse
impl StructuralPartialEq for SearchSnippetGetResponse
Auto Trait Implementations§
impl Freeze for SearchSnippetGetResponse
impl RefUnwindSafe for SearchSnippetGetResponse
impl Send for SearchSnippetGetResponse
impl Sync for SearchSnippetGetResponse
impl Unpin for SearchSnippetGetResponse
impl UnsafeUnpin 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