pub struct SourceControlCreateDTO {
pub ID: String,
pub Label: String,
pub RootUri: Url,
}Expand description
A serializable struct sent from the extension host (Cocoon) to the main
host (Mountain) when an extension calls vscode.scm.createSourceControl.
Fields§
§ID: StringThe unique identifier for this source control provider.
Label: StringThe human-readable label for this provider (e.g., “Git”).
RootUri: UrlThe root URI of the repository this provider is managing.
Trait Implementations§
Source§impl Clone for SourceControlCreateDTO
impl Clone for SourceControlCreateDTO
Source§fn clone(&self) -> SourceControlCreateDTO
fn clone(&self) -> SourceControlCreateDTO
Returns a duplicate 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 SourceControlCreateDTO
impl Debug for SourceControlCreateDTO
Source§impl<'de> Deserialize<'de> for SourceControlCreateDTO
impl<'de> Deserialize<'de> for SourceControlCreateDTO
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
Auto Trait Implementations§
impl Freeze for SourceControlCreateDTO
impl RefUnwindSafe for SourceControlCreateDTO
impl Send for SourceControlCreateDTO
impl Sync for SourceControlCreateDTO
impl Unpin for SourceControlCreateDTO
impl UnwindSafe for SourceControlCreateDTO
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