pub enum SessionWorkingDirectoryContextHostType {
GitHub,
Ado,
Unknown,
}Expand description
Hosting platform type of the repository
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
GitHub
The working directory repository is hosted on GitHub.
Ado
The working directory repository is hosted on Azure DevOps.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SessionWorkingDirectoryContextHostType
impl Clone for SessionWorkingDirectoryContextHostType
Source§fn clone(&self) -> SessionWorkingDirectoryContextHostType
fn clone(&self) -> SessionWorkingDirectoryContextHostType
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 SessionWorkingDirectoryContextHostType
impl Default for SessionWorkingDirectoryContextHostType
Source§fn default() -> SessionWorkingDirectoryContextHostType
fn default() -> SessionWorkingDirectoryContextHostType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionWorkingDirectoryContextHostType
impl<'de> Deserialize<'de> for SessionWorkingDirectoryContextHostType
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 SessionWorkingDirectoryContextHostType
Source§impl PartialEq for SessionWorkingDirectoryContextHostType
impl PartialEq for SessionWorkingDirectoryContextHostType
Source§fn eq(&self, other: &SessionWorkingDirectoryContextHostType) -> bool
fn eq(&self, other: &SessionWorkingDirectoryContextHostType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionWorkingDirectoryContextHostType
Auto Trait Implementations§
impl Freeze for SessionWorkingDirectoryContextHostType
impl RefUnwindSafe for SessionWorkingDirectoryContextHostType
impl Send for SessionWorkingDirectoryContextHostType
impl Sync for SessionWorkingDirectoryContextHostType
impl Unpin for SessionWorkingDirectoryContextHostType
impl UnsafeUnpin for SessionWorkingDirectoryContextHostType
impl UnwindSafe for SessionWorkingDirectoryContextHostType
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