pub(crate) struct MetaFrame<'a> {
pub(crate) frame_type: &'static str,
pub(crate) file_name: &'a str,
pub(crate) content_type: &'a str,
}Expand description
Direct-mode metadata frame sent before CSV chunks.
Serializes as {"type":"meta","fileName":...,"contentType":...}.
Fields§
§frame_type: &'static strAlways EXPORT_FRAME_META; serialized as type.
file_name: &'a strSuggested download file name; serialized as fileName.
content_type: &'a strMIME type of the payload (text/csv); serialized as contentType.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MetaFrame<'a>
impl<'a> RefUnwindSafe for MetaFrame<'a>
impl<'a> Send for MetaFrame<'a>
impl<'a> Sync for MetaFrame<'a>
impl<'a> Unpin for MetaFrame<'a>
impl<'a> UnsafeUnpin for MetaFrame<'a>
impl<'a> UnwindSafe for MetaFrame<'a>
Blanket Implementations§
impl<T> Allocation for T
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