Struct azure_devops_rust_api::search::models::PackageResult
source · pub struct PackageResult {
pub description: Option<String>,
pub feeds: Vec<FeedInfo>,
pub hits: Vec<PackageHit>,
pub id: Option<String>,
pub name: Option<String>,
pub protocol_type: Option<String>,
}
Expand description
Defines the package result that matched a package search request.
Fields§
§description: Option<String>
Description of the package.
feeds: Vec<FeedInfo>
List of feeds which contain the matching package.
hits: Vec<PackageHit>
List of highlighted fields for the match.
id: Option<String>
Id of the package.
name: Option<String>
Name of the package.
protocol_type: Option<String>
Type of the package.
Implementations§
source§impl PackageResult
impl PackageResult
Trait Implementations§
source§impl Clone for PackageResult
impl Clone for PackageResult
source§fn clone(&self) -> PackageResult
fn clone(&self) -> PackageResult
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 PackageResult
impl Debug for PackageResult
source§impl Default for PackageResult
impl Default for PackageResult
source§fn default() -> PackageResult
fn default() -> PackageResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PackageResult
impl<'de> Deserialize<'de> for PackageResult
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 PackageResult
impl PartialEq for PackageResult
source§fn eq(&self, other: &PackageResult) -> bool
fn eq(&self, other: &PackageResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PackageResult
impl Serialize for PackageResult
impl StructuralPartialEq for PackageResult
Auto Trait Implementations§
impl RefUnwindSafe for PackageResult
impl Send for PackageResult
impl Sync for PackageResult
impl Unpin for PackageResult
impl UnwindSafe for PackageResult
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