Struct dropbox_sdk::files::SearchMatchV2 [−][src]
#[non_exhaustive]pub struct SearchMatchV2 { pub metadata: MetadataV2, pub match_type: Option<SearchMatchTypeV2>, pub highlight_spans: Option<Vec<HighlightSpan>>, }
This is supported on crate feature
dbx_files only.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.metadata: MetadataV2The metadata for the matched file or folder.
match_type: Option<SearchMatchTypeV2>The type of the match.
highlight_spans: Option<Vec<HighlightSpan>>The list of HighlightSpan determines which parts of the file title should be highlighted.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SearchMatchV2impl Send for SearchMatchV2impl Sync for SearchMatchV2impl Unpin for SearchMatchV2impl UnwindSafe for SearchMatchV2Blanket Implementations
Mutably borrows from an owned value. Read more