pub struct NewRequest {
pub id: String,
pub link: String,
}Expand description
The result of creating a request: the id (for the local ledger) and the link to hand to whoever you’re asking to upload.
Fields§
§id: String§link: StringTrait Implementations§
Source§impl Clone for NewRequest
impl Clone for NewRequest
Source§fn clone(&self) -> NewRequest
fn clone(&self) -> NewRequest
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 Freeze for NewRequest
impl RefUnwindSafe for NewRequest
impl Send for NewRequest
impl Sync for NewRequest
impl Unpin for NewRequest
impl UnsafeUnpin for NewRequest
impl UnwindSafe for NewRequest
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