pub struct MediaKey {
pub media_library: MediaLibrary,
pub id: Uuid,
pub content_type: String,
}
Expand description
FCM Data Message format for signalling processing completion.
Contains the information necessary to find the media from the GCS project.
Fields§
§media_library: MediaLibrary
Media library the
id: Uuid
The id of the media
content_type: String
The content type of the media.
The definitions can be found in content_type()
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MediaKey
impl<'de> Deserialize<'de> for MediaKey
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 MediaKey
impl RefUnwindSafe for MediaKey
impl Send for MediaKey
impl Sync for MediaKey
impl Unpin for MediaKey
impl UnwindSafe for MediaKey
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