Struct azure_devops_rust_api::build::models::SourceRepository
source · pub struct SourceRepository {
pub default_branch: Option<String>,
pub full_name: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub properties: Option<Value>,
pub source_provider_name: Option<String>,
pub url: Option<String>,
}
Expand description
Represents a repository returned from a source provider.
Fields§
§default_branch: Option<String>
The name of the default branch.
full_name: Option<String>
The full name of the repository.
id: Option<String>
The ID of the repository.
name: Option<String>
The friendly name of the repository.
properties: Option<Value>
§source_provider_name: Option<String>
The name of the source provider the repository is from.
url: Option<String>
The URL of the repository.
Implementations§
Trait Implementations§
source§impl Clone for SourceRepository
impl Clone for SourceRepository
source§fn clone(&self) -> SourceRepository
fn clone(&self) -> SourceRepository
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 SourceRepository
impl Debug for SourceRepository
source§impl Default for SourceRepository
impl Default for SourceRepository
source§fn default() -> SourceRepository
fn default() -> SourceRepository
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourceRepository
impl<'de> Deserialize<'de> for SourceRepository
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 SourceRepository
impl PartialEq for SourceRepository
source§fn eq(&self, other: &SourceRepository) -> bool
fn eq(&self, other: &SourceRepository) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourceRepository
impl Serialize for SourceRepository
impl StructuralPartialEq for SourceRepository
Auto Trait Implementations§
impl Freeze for SourceRepository
impl RefUnwindSafe for SourceRepository
impl Send for SourceRepository
impl Sync for SourceRepository
impl Unpin for SourceRepository
impl UnwindSafe for SourceRepository
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