pub enum EmbeddedDataPresence {
Absent,
Empty,
Encoded,
}Expand description
Authored state of an embedded resource’s (data ...) form.
Variants§
Absent
No (data ...) form was authored; another scope may own the payload.
Empty
A (data ...) form was authored but contains no encoded bytes.
Encoded
A nonempty encoded payload is present and may be decoded on demand.
Trait Implementations§
Source§impl Clone for EmbeddedDataPresence
impl Clone for EmbeddedDataPresence
Source§fn clone(&self) -> EmbeddedDataPresence
fn clone(&self) -> EmbeddedDataPresence
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 moreimpl Copy for EmbeddedDataPresence
Source§impl Debug for EmbeddedDataPresence
impl Debug for EmbeddedDataPresence
impl Eq for EmbeddedDataPresence
Source§impl PartialEq for EmbeddedDataPresence
impl PartialEq for EmbeddedDataPresence
impl StructuralPartialEq for EmbeddedDataPresence
Auto Trait Implementations§
impl Freeze for EmbeddedDataPresence
impl RefUnwindSafe for EmbeddedDataPresence
impl Send for EmbeddedDataPresence
impl Sync for EmbeddedDataPresence
impl Unpin for EmbeddedDataPresence
impl UnsafeUnpin for EmbeddedDataPresence
impl UnwindSafe for EmbeddedDataPresence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.