Struct AttachmentForm
pub struct AttachmentForm {
pub encoded: Option<BTreeMap<JavaString, Tag>>,
pub policy: AttachmentPolicy,
pub write: AttachmentWrite,
}Expand description
What comes with a stored value: its saved form (None for a type with no codec), its type’s
policy, and why it is stored.
Fields§
§encoded: Option<BTreeMap<JavaString, Tag>>§policy: AttachmentPolicy§write: AttachmentWriteTrait Implementations§
§impl Clone for AttachmentForm
impl Clone for AttachmentForm
§fn clone(&self) -> AttachmentForm
fn clone(&self) -> AttachmentForm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AttachmentForm
impl Debug for AttachmentForm
§impl PartialEq for AttachmentForm
impl PartialEq for AttachmentForm
impl StructuralPartialEq for AttachmentForm
Auto Trait Implementations§
impl Freeze for AttachmentForm
impl RefUnwindSafe for AttachmentForm
impl Send for AttachmentForm
impl Sync for AttachmentForm
impl Unpin for AttachmentForm
impl UnsafeUnpin for AttachmentForm
impl UnwindSafe for AttachmentForm
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