pub struct FileTransferFingerprint {
pub source_host: HostId,
pub source_revision: TopologyRevision,
pub source: TransferFileIdentity,
pub destination_host: HostId,
pub destination_revision: TopologyRevision,
pub destination_path: PathBuf,
pub destination_before: Option<TransferFileIdentity>,
}Expand description
Complete authorization-relevant transfer fingerprint.
Fields§
§source_host: HostIdSource host.
source_revision: TopologyRevisionSource host revision.
source: TransferFileIdentitySource file identity.
destination_host: HostIdDestination host.
destination_revision: TopologyRevisionDestination host revision.
destination_path: PathBufDestination absolute path.
destination_before: Option<TransferFileIdentity>Existing destination identity, when present.
Trait Implementations§
Source§impl Clone for FileTransferFingerprint
impl Clone for FileTransferFingerprint
Source§fn clone(&self) -> FileTransferFingerprint
fn clone(&self) -> FileTransferFingerprint
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 FileTransferFingerprint
impl Debug for FileTransferFingerprint
Source§impl<'de> Deserialize<'de> for FileTransferFingerprint
impl<'de> Deserialize<'de> for FileTransferFingerprint
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 FileTransferFingerprint
impl PartialEq for FileTransferFingerprint
Source§fn eq(&self, other: &FileTransferFingerprint) -> bool
fn eq(&self, other: &FileTransferFingerprint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileTransferFingerprint
impl Serialize for FileTransferFingerprint
impl Eq for FileTransferFingerprint
impl StructuralPartialEq for FileTransferFingerprint
Auto Trait Implementations§
impl Freeze for FileTransferFingerprint
impl RefUnwindSafe for FileTransferFingerprint
impl Send for FileTransferFingerprint
impl Sync for FileTransferFingerprint
impl Unpin for FileTransferFingerprint
impl UnsafeUnpin for FileTransferFingerprint
impl UnwindSafe for FileTransferFingerprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.