pub struct Override {
pub partname: String,
pub content_type: String,
}Expand description
Override:按 part 名称覆盖 Content-Type(通常用于 XML 部件)。
Fields§
§partname: StringPart 名称(绝对路径,含前导 /)。
content_type: StringContent-Type 字符串。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Override
impl RefUnwindSafe for Override
impl Send for Override
impl Sync for Override
impl Unpin for Override
impl UnsafeUnpin for Override
impl UnwindSafe for Override
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