pub struct ContentShape(/* private fields */);Expand description
Content shape classification for admitted inputs.
Used by the admitted-input snapshot surface so callers can correlate admissions by content type without re-parsing the Input payload.
Implementations§
Trait Implementations§
Source§impl Clone for ContentShape
impl Clone for ContentShape
Source§fn clone(&self) -> ContentShape
fn clone(&self) -> ContentShape
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 moreSource§impl Debug for ContentShape
impl Debug for ContentShape
Source§impl Display for ContentShape
impl Display for ContentShape
Source§impl From<InputKind> for ContentShape
impl From<InputKind> for ContentShape
Source§impl From<KindId> for ContentShape
impl From<KindId> for ContentShape
Source§impl Hash for ContentShape
impl Hash for ContentShape
Source§impl PartialEq for ContentShape
impl PartialEq for ContentShape
Source§fn eq(&self, other: &ContentShape) -> bool
fn eq(&self, other: &ContentShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ContentShape
impl Eq for ContentShape
impl StructuralPartialEq for ContentShape
Auto Trait Implementations§
impl Freeze for ContentShape
impl RefUnwindSafe for ContentShape
impl Send for ContentShape
impl Sync for ContentShape
impl Unpin for ContentShape
impl UnsafeUnpin for ContentShape
impl UnwindSafe for ContentShape
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.