pub enum WorkingDirectoryContextHostType {
GitHub,
Ado,
Unknown,
}Expand description
Hosting platform type of the repository (github or ado)
Variants§
GitHub
Repository is hosted on GitHub.
Ado
Repository is hosted on Azure DevOps.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for WorkingDirectoryContextHostType
impl Clone for WorkingDirectoryContextHostType
Source§fn clone(&self) -> WorkingDirectoryContextHostType
fn clone(&self) -> WorkingDirectoryContextHostType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for WorkingDirectoryContextHostType
impl Default for WorkingDirectoryContextHostType
Source§fn default() -> WorkingDirectoryContextHostType
fn default() -> WorkingDirectoryContextHostType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkingDirectoryContextHostType
impl<'de> Deserialize<'de> for WorkingDirectoryContextHostType
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
impl Eq for WorkingDirectoryContextHostType
Source§impl PartialEq for WorkingDirectoryContextHostType
impl PartialEq for WorkingDirectoryContextHostType
Source§fn eq(&self, other: &WorkingDirectoryContextHostType) -> bool
fn eq(&self, other: &WorkingDirectoryContextHostType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkingDirectoryContextHostType
Auto Trait Implementations§
impl Freeze for WorkingDirectoryContextHostType
impl RefUnwindSafe for WorkingDirectoryContextHostType
impl Send for WorkingDirectoryContextHostType
impl Sync for WorkingDirectoryContextHostType
impl Unpin for WorkingDirectoryContextHostType
impl UnsafeUnpin for WorkingDirectoryContextHostType
impl UnwindSafe for WorkingDirectoryContextHostType
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