pub struct ImportFileOutcome {
pub hash: Hash,
pub size: u64,
pub key: Bytes,
}
Available on crate feature
rpc
only.Expand description
Outcome of a Doc::import_file
operation
Fields§
§hash: Hash
The hash of the entry’s content
size: u64
The size of the entry
key: Bytes
The key of the entry
Trait Implementations§
Source§impl Clone for ImportFileOutcome
impl Clone for ImportFileOutcome
Source§fn clone(&self) -> ImportFileOutcome
fn clone(&self) -> ImportFileOutcome
Returns a copy of the value. Read more
1.0.0 · 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 ImportFileOutcome
impl Debug for ImportFileOutcome
Source§impl PartialEq for ImportFileOutcome
impl PartialEq for ImportFileOutcome
impl Eq for ImportFileOutcome
impl StructuralPartialEq for ImportFileOutcome
Auto Trait Implementations§
impl !Freeze for ImportFileOutcome
impl RefUnwindSafe for ImportFileOutcome
impl Send for ImportFileOutcome
impl Sync for ImportFileOutcome
impl Unpin for ImportFileOutcome
impl UnwindSafe for ImportFileOutcome
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§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.§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
Checks if this value is equivalent to the given key. Read more