pub struct RemoteStat {
pub size: u64,
pub etag: String,
}Expand description
Metadata of a remote file, as returned by NativeClient::stat.
Fields§
§size: u64Authoritative size in bytes (the server reads the real file).
etag: StringContent identifier for resume validation (server-computed).
Trait Implementations§
Source§impl Clone for RemoteStat
impl Clone for RemoteStat
Source§fn clone(&self) -> RemoteStat
fn clone(&self) -> RemoteStat
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 RemoteStat
impl Debug for RemoteStat
impl Eq for RemoteStat
Source§impl PartialEq for RemoteStat
impl PartialEq for RemoteStat
impl StructuralPartialEq for RemoteStat
Auto Trait Implementations§
impl Freeze for RemoteStat
impl RefUnwindSafe for RemoteStat
impl Send for RemoteStat
impl Sync for RemoteStat
impl Unpin for RemoteStat
impl UnsafeUnpin for RemoteStat
impl UnwindSafe for RemoteStat
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.