pub struct WebMediaMetadataResponse {
pub id: Uuid,
pub kind: MediaKind,
pub urls: Vec<Url>,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Response for getting metadata for media from the web media library.
Fields§
§id: Uuid
The ID of the media
kind: MediaKind
What kind of media this is
urls: Vec<Url>
The urls associated with this media (can be empty)
created_at: DateTime<Utc>
When this media was added
updated_at: Option<DateTime<Utc>>
When this media was last updated, if ever.
Trait Implementations§
Source§impl Debug for WebMediaMetadataResponse
impl Debug for WebMediaMetadataResponse
Source§impl<'de> Deserialize<'de> for WebMediaMetadataResponse
impl<'de> Deserialize<'de> for WebMediaMetadataResponse
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 WebMediaMetadataResponse
impl RefUnwindSafe for WebMediaMetadataResponse
impl Send for WebMediaMetadataResponse
impl Sync for WebMediaMetadataResponse
impl Unpin for WebMediaMetadataResponse
impl UnwindSafe for WebMediaMetadataResponse
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