pub struct AssignResult {
pub file_id: FileId,
pub url: String,
pub public_url: Option<String>,
pub count: u32,
}Expand description
Result of a file assignment from the master server.
Fields§
§file_id: FileIdThe assigned file ID.
url: StringThe URL of the volume server to upload to.
public_url: Option<String>Optional public URL for the volume server.
count: u32Number of file IDs assigned.
Trait Implementations§
Source§impl Clone for AssignResult
impl Clone for AssignResult
Source§fn clone(&self) -> AssignResult
fn clone(&self) -> AssignResult
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 AssignResult
impl Debug for AssignResult
impl Eq for AssignResult
Source§impl PartialEq for AssignResult
impl PartialEq for AssignResult
Source§fn eq(&self, other: &AssignResult) -> bool
fn eq(&self, other: &AssignResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssignResult
Auto Trait Implementations§
impl Freeze for AssignResult
impl RefUnwindSafe for AssignResult
impl Send for AssignResult
impl Sync for AssignResult
impl Unpin for AssignResult
impl UnsafeUnpin for AssignResult
impl UnwindSafe for AssignResult
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.