pub struct ActionContext {Show 14 fields
pub branch_display_name: Option<String>,
pub branch_name: Option<String>,
pub local_branch_name: Option<String>,
pub branch_id: Option<String>,
pub source_branch_name: Option<String>,
pub target_branch_name: Option<String>,
pub commit_hash: Option<String>,
pub commit_hashes: Vec<String>,
pub commit_body: Option<String>,
pub stash_name: Option<String>,
pub tag_name: Option<String>,
pub remote_name: Option<String>,
pub default_remote_name: Option<String>,
pub additional_placeholders: HashMap<String, String>,
}Fields§
§branch_display_name: Option<String>§branch_name: Option<String>§local_branch_name: Option<String>§branch_id: Option<String>§source_branch_name: Option<String>§target_branch_name: Option<String>§commit_hash: Option<String>§commit_hashes: Vec<String>§commit_body: Option<String>§stash_name: Option<String>§tag_name: Option<String>§remote_name: Option<String>§default_remote_name: Option<String>§additional_placeholders: HashMap<String, String>Implementations§
Source§impl ActionContext
impl ActionContext
pub fn to_placeholder_map(&self) -> HashMap<String, String>
Trait Implementations§
Source§impl Clone for ActionContext
impl Clone for ActionContext
Source§fn clone(&self) -> ActionContext
fn clone(&self) -> ActionContext
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 ActionContext
impl Debug for ActionContext
Source§impl Default for ActionContext
impl Default for ActionContext
Source§fn default() -> ActionContext
fn default() -> ActionContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionContext
impl<'de> Deserialize<'de> for ActionContext
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 ActionContext
impl PartialEq for ActionContext
Source§impl Serialize for ActionContext
impl Serialize for ActionContext
impl Eq for ActionContext
impl StructuralPartialEq for ActionContext
Auto Trait Implementations§
impl Freeze for ActionContext
impl RefUnwindSafe for ActionContext
impl Send for ActionContext
impl Sync for ActionContext
impl Unpin for ActionContext
impl UnsafeUnpin for ActionContext
impl UnwindSafe for ActionContext
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