Struct azure_devops_rust_api::wiki::models::GitVersionDescriptor
source · pub struct GitVersionDescriptor {
pub version: Option<String>,
pub version_options: Option<VersionOptions>,
pub version_type: Option<VersionType>,
}
Expand description
Fields§
§version: Option<String>
Version string identifier (name of tag/branch, SHA1 of commit)
version_options: Option<VersionOptions>
Version options - Specify additional modifiers to version (e.g Previous)
version_type: Option<VersionType>
Version type (branch, tag, or commit). Determines how Id is interpreted
Implementations§
Trait Implementations§
source§impl Clone for GitVersionDescriptor
impl Clone for GitVersionDescriptor
source§fn clone(&self) -> GitVersionDescriptor
fn clone(&self) -> GitVersionDescriptor
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 GitVersionDescriptor
impl Debug for GitVersionDescriptor
source§impl Default for GitVersionDescriptor
impl Default for GitVersionDescriptor
source§fn default() -> GitVersionDescriptor
fn default() -> GitVersionDescriptor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitVersionDescriptor
impl<'de> Deserialize<'de> for GitVersionDescriptor
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 GitVersionDescriptor
impl PartialEq for GitVersionDescriptor
source§fn eq(&self, other: &GitVersionDescriptor) -> bool
fn eq(&self, other: &GitVersionDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GitVersionDescriptor
impl Serialize for GitVersionDescriptor
impl StructuralPartialEq for GitVersionDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for GitVersionDescriptor
impl Send for GitVersionDescriptor
impl Sync for GitVersionDescriptor
impl Unpin for GitVersionDescriptor
impl UnwindSafe for GitVersionDescriptor
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