pub struct GitMetadata { /* private fields */ }Implementations§
Source§impl GitMetadata
impl GitMetadata
pub fn commit_message<T>(self, value: T) -> Self
pub fn commit_ref<T>(self, value: T) -> Self
pub fn commit_sha<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for GitMetadata
impl Clone for GitMetadata
Source§fn clone(&self) -> GitMetadata
fn clone(&self) -> GitMetadata
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 GitMetadata
impl Debug for GitMetadata
Source§impl Default for GitMetadata
impl Default for GitMetadata
Source§impl From<GitMetadata> for GitMetadata
impl From<GitMetadata> for GitMetadata
Source§fn from(value: GitMetadata) -> Self
fn from(value: GitMetadata) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GitMetadata> for GitMetadata
impl TryFrom<GitMetadata> for GitMetadata
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GitMetadata) -> Result<Self, ConversionError>
fn try_from(value: GitMetadata) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GitMetadata
impl RefUnwindSafe for GitMetadata
impl Send for GitMetadata
impl Sync for GitMetadata
impl Unpin for GitMetadata
impl UnsafeUnpin for GitMetadata
impl UnwindSafe for GitMetadata
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