pub struct SourceControlUpdateDTO {
pub ProviderHandle: Option<u32>,
pub InputBoxValue: Option<String>,
pub InputBoxPlaceholder: Option<String>,
pub CommitTemplate: Option<String>,
pub AcceptInputCommand: Option<Value>,
pub Count: Option<u32>,
}Expand description
A serializable struct used to send updates for a source control provider’s top-level properties, such as the commit message in the input box or the badge count.
Fields§
§ProviderHandle: Option<u32>The handle of the provider to update. Optional: callers that pass the handle as a positional argument (SCM.rs effect) may omit this field.
InputBoxValue: Option<String>The new value for the commit message input box.
InputBoxPlaceholder: Option<String>The new placeholder text for the commit message input box.
CommitTemplate: Option<String>The commit template string shown as placeholder when the input is empty.
AcceptInputCommand: Option<Value>The command executed when the user accepts the input (e.g. presses Enter).
Count: Option<u32>The new count to display as a badge on the SourceControlManagement icon.
Trait Implementations§
Source§impl Clone for SourceControlUpdateDTO
impl Clone for SourceControlUpdateDTO
Source§fn clone(&self) -> SourceControlUpdateDTO
fn clone(&self) -> SourceControlUpdateDTO
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 Debug for SourceControlUpdateDTO
impl Debug for SourceControlUpdateDTO
Source§impl<'de> Deserialize<'de> for SourceControlUpdateDTO
impl<'de> Deserialize<'de> for SourceControlUpdateDTO
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 SourceControlUpdateDTO
impl RefUnwindSafe for SourceControlUpdateDTO
impl Send for SourceControlUpdateDTO
impl Sync for SourceControlUpdateDTO
impl Unpin for SourceControlUpdateDTO
impl UnsafeUnpin for SourceControlUpdateDTO
impl UnwindSafe for SourceControlUpdateDTO
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