Struct azure_devops_rust_api::test::models::ShallowReference
source · pub struct ShallowReference {
pub id: Option<String>,
pub name: Option<String>,
pub url: Option<String>,
}Expand description
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
Fields§
§id: Option<String>ID of the resource
name: Option<String>Name of the linked resource (definition name, controller name, etc.)
url: Option<String>Full http link to the resource
Implementations§
Trait Implementations§
source§impl Clone for ShallowReference
impl Clone for ShallowReference
source§fn clone(&self) -> ShallowReference
fn clone(&self) -> ShallowReference
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 ShallowReference
impl Debug for ShallowReference
source§impl Default for ShallowReference
impl Default for ShallowReference
source§fn default() -> ShallowReference
fn default() -> ShallowReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShallowReference
impl<'de> Deserialize<'de> for ShallowReference
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 ShallowReference
impl PartialEq for ShallowReference
source§fn eq(&self, other: &ShallowReference) -> bool
fn eq(&self, other: &ShallowReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ShallowReference
impl Serialize for ShallowReference
impl StructuralPartialEq for ShallowReference
Auto Trait Implementations§
impl Freeze for ShallowReference
impl RefUnwindSafe for ShallowReference
impl Send for ShallowReference
impl Sync for ShallowReference
impl Unpin for ShallowReference
impl UnwindSafe for ShallowReference
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