pub struct StoredDocument {
pub content_type: String,
pub body: Vec<u8>,
}Expand description
A stored resource: its XML body plus the content type it was stored
under (mirrors zerodds_web::bridge::BackendResult::Body).
Fields§
§content_type: StringMIME type, e.g. application/dds-web+xml.
body: Vec<u8>Raw body bytes.
Trait Implementations§
Source§impl Clone for StoredDocument
impl Clone for StoredDocument
Source§impl Debug for StoredDocument
impl Debug for StoredDocument
impl Eq for StoredDocument
Source§impl PartialEq for StoredDocument
impl PartialEq for StoredDocument
impl StructuralPartialEq for StoredDocument
Auto Trait Implementations§
impl Freeze for StoredDocument
impl RefUnwindSafe for StoredDocument
impl Send for StoredDocument
impl Sync for StoredDocument
impl Unpin for StoredDocument
impl UnsafeUnpin for StoredDocument
impl UnwindSafe for StoredDocument
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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