pub struct PartMeta {
pub id: PartId,
pub content_type: String,
pub filename: Option<String>,
pub size: usize,
pub disposition: Disposition,
pub content_id: Option<String>,
}Fields§
§id: PartId§content_type: String§filename: Option<String>§size: usize§disposition: Disposition§content_id: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartMeta
impl<'de> Deserialize<'de> for PartMeta
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
impl Eq for PartMeta
impl StructuralPartialEq for PartMeta
Auto Trait Implementations§
impl Freeze for PartMeta
impl RefUnwindSafe for PartMeta
impl Send for PartMeta
impl Sync for PartMeta
impl Unpin for PartMeta
impl UnsafeUnpin for PartMeta
impl UnwindSafe for PartMeta
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