pub struct MediaResourceProjection {
pub source: SourceMessageId,
pub chat: String,
pub packed_info: Vec<u8>,
pub details: Vec<RawFields>,
}Expand description
Exact native resource metadata. The destination allocates all local IDs and translates names. Detail type/status/data_index and opaque protobuf bytes are explicit build-adapter inputs rather than guessed media-wide defaults.
Fields§
§source: SourceMessageId§chat: String§packed_info: Vec<u8>§details: Vec<RawFields>Trait Implementations§
Source§impl Clone for MediaResourceProjection
impl Clone for MediaResourceProjection
Source§impl Debug for MediaResourceProjection
impl Debug for MediaResourceProjection
Source§impl<'de> Deserialize<'de> for MediaResourceProjection
impl<'de> Deserialize<'de> for MediaResourceProjection
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 MediaResourceProjection
impl RefUnwindSafe for MediaResourceProjection
impl Send for MediaResourceProjection
impl Sync for MediaResourceProjection
impl Unpin for MediaResourceProjection
impl UnsafeUnpin for MediaResourceProjection
impl UnwindSafe for MediaResourceProjection
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