pub struct TransferCandidate<T> {
pub payload: T,
pub source: String,
pub target: String,
pub relative_path: String,
pub modified: Option<Timestamp>,
pub size_bytes: Option<u64>,
}Expand description
A storage-independent item that can be selected and executed as part of a transfer.
Fields§
§payload: TCommand-specific operation data.
source: StringDisplay-safe source identity.
target: StringDisplay-safe destination identity.
relative_path: StringSource-relative path used by include and exclude rules.
modified: Option<Timestamp>UTC modification timestamp when the source provides one.
size_bytes: Option<u64>Expected transfer size, used for aggregate rate pacing.
Trait Implementations§
Source§impl<T: Clone> Clone for TransferCandidate<T>
impl<T: Clone> Clone for TransferCandidate<T>
Source§fn clone(&self) -> TransferCandidate<T>
fn clone(&self) -> TransferCandidate<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for TransferCandidate<T>where
T: Freeze,
impl<T> RefUnwindSafe for TransferCandidate<T>where
T: RefUnwindSafe,
impl<T> Send for TransferCandidate<T>where
T: Send,
impl<T> Sync for TransferCandidate<T>where
T: Sync,
impl<T> Unpin for TransferCandidate<T>where
T: Unpin,
impl<T> UnsafeUnpin for TransferCandidate<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TransferCandidate<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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