pub struct LocalGitIdentity {
pub name: String,
pub email: String,
}Fields§
§name: String§email: StringImplementations§
Source§impl LocalGitIdentity
impl LocalGitIdentity
pub fn from_principal(principal: &Principal) -> Self
pub fn to_ident_line(&self, seconds: i64) -> Vec<u8> ⓘ
pub fn to_signature(&self, seconds: i64) -> Signature
Trait Implementations§
Source§impl Clone for LocalGitIdentity
impl Clone for LocalGitIdentity
Source§fn clone(&self) -> LocalGitIdentity
fn clone(&self) -> LocalGitIdentity
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 LocalGitIdentity
impl Debug for LocalGitIdentity
impl Eq for LocalGitIdentity
Source§impl PartialEq for LocalGitIdentity
impl PartialEq for LocalGitIdentity
impl StructuralPartialEq for LocalGitIdentity
Auto Trait Implementations§
impl Freeze for LocalGitIdentity
impl RefUnwindSafe for LocalGitIdentity
impl Send for LocalGitIdentity
impl Sync for LocalGitIdentity
impl Unpin for LocalGitIdentity
impl UnsafeUnpin for LocalGitIdentity
impl UnwindSafe for LocalGitIdentity
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