Struct azure_devops_rust_api::search::models::WikiResult
source · pub struct WikiResult {
pub collection: Option<Collection>,
pub content_id: Option<String>,
pub file_name: Option<String>,
pub hits: Vec<WikiHit>,
pub path: Option<String>,
pub project: Option<ProjectReference>,
pub wiki: Option<Wiki>,
}
Expand description
Defines the wiki result that matched a wiki search request.
Fields§
§collection: Option<Collection>
Defines the details of the collection.
content_id: Option<String>
ContentId of the result file.
file_name: Option<String>
Name of the result file.
hits: Vec<WikiHit>
Highlighted snippets of fields that match the search request. The list is sorted by relevance of the snippets.
path: Option<String>
Path at which result file is present.
project: Option<ProjectReference>
Defines the details of the project.
wiki: Option<Wiki>
Defines the details of wiki.
Implementations§
source§impl WikiResult
impl WikiResult
Trait Implementations§
source§impl Clone for WikiResult
impl Clone for WikiResult
source§fn clone(&self) -> WikiResult
fn clone(&self) -> WikiResult
Returns a copy 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 WikiResult
impl Debug for WikiResult
source§impl Default for WikiResult
impl Default for WikiResult
source§fn default() -> WikiResult
fn default() -> WikiResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WikiResult
impl<'de> Deserialize<'de> for WikiResult
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 WikiResult
impl PartialEq for WikiResult
source§fn eq(&self, other: &WikiResult) -> bool
fn eq(&self, other: &WikiResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WikiResult
impl Serialize for WikiResult
impl StructuralPartialEq for WikiResult
Auto Trait Implementations§
impl Freeze for WikiResult
impl RefUnwindSafe for WikiResult
impl Send for WikiResult
impl Sync for WikiResult
impl Unpin for WikiResult
impl UnwindSafe for WikiResult
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