pub struct RepositoryIdentity {
pub repo_identity_hash: String,
pub object_format: ObjectFormat,
pub remote_fingerprint: Option<String>,
}Expand description
Redacted local repository identity carried on revision responses.
Fields§
§repo_identity_hash: StringStable daemon-local hash over repository identity inputs.
object_format: ObjectFormatGit object id format for this repository.
remote_fingerprint: Option<String>Optional redacted remote diagnostic fingerprint.
Trait Implementations§
Source§impl Clone for RepositoryIdentity
impl Clone for RepositoryIdentity
Source§fn clone(&self) -> RepositoryIdentity
fn clone(&self) -> RepositoryIdentity
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 RepositoryIdentity
impl Debug for RepositoryIdentity
Source§impl<'de> Deserialize<'de> for RepositoryIdentity
impl<'de> Deserialize<'de> for RepositoryIdentity
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
impl Eq for RepositoryIdentity
Source§impl PartialEq for RepositoryIdentity
impl PartialEq for RepositoryIdentity
Source§fn eq(&self, other: &RepositoryIdentity) -> bool
fn eq(&self, other: &RepositoryIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepositoryIdentity
impl Serialize for RepositoryIdentity
impl StructuralPartialEq for RepositoryIdentity
Auto Trait Implementations§
impl Freeze for RepositoryIdentity
impl RefUnwindSafe for RepositoryIdentity
impl Send for RepositoryIdentity
impl Sync for RepositoryIdentity
impl Unpin for RepositoryIdentity
impl UnsafeUnpin for RepositoryIdentity
impl UnwindSafe for RepositoryIdentity
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