Struct headless_lms_server::controllers::UploadResult
source · pub struct UploadResult {
pub url: String,
}
Expand description
Result of a image upload. Tells where the uploaded image can be retrieved from.
Fields§
§url: String
Trait Implementations§
source§impl Clone for UploadResult
impl Clone for UploadResult
source§fn clone(&self) -> UploadResult
fn clone(&self) -> UploadResult
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 UploadResult
impl Debug for UploadResult
source§impl<'de> Deserialize<'de> for UploadResult
impl<'de> Deserialize<'de> for UploadResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for UploadResult
impl PartialEq for UploadResult
source§fn eq(&self, other: &UploadResult) -> bool
fn eq(&self, other: &UploadResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UploadResult
impl Serialize for UploadResult
impl StructuralPartialEq for UploadResult
Auto Trait Implementations§
impl RefUnwindSafe for UploadResult
impl Send for UploadResult
impl Sync for UploadResult
impl Unpin for UploadResult
impl UnwindSafe for UploadResult
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