pub struct UrlCreatedResponse {
pub id: Uuid,
pub kind: MediaKind,
}
Expand description
Response for adding a URL to the Web Media Library
Fields§
§id: Uuid
The ID of the media.
kind: MediaKind
What kind of media this was inferred to be.
Trait Implementations§
Source§impl Debug for UrlCreatedResponse
impl Debug for UrlCreatedResponse
Source§impl<'de> Deserialize<'de> for UrlCreatedResponse
impl<'de> Deserialize<'de> for UrlCreatedResponse
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
Auto Trait Implementations§
impl Freeze for UrlCreatedResponse
impl RefUnwindSafe for UrlCreatedResponse
impl Send for UrlCreatedResponse
impl Sync for UrlCreatedResponse
impl Unpin for UrlCreatedResponse
impl UnwindSafe for UrlCreatedResponse
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