pub enum EndpointCardinality {
Single,
Optional,
Many,
}Expand description
EndpointCardinality
Variants§
Trait Implementations§
Source§impl Clone for EndpointCardinality
impl Clone for EndpointCardinality
Source§fn clone(&self) -> EndpointCardinality
fn clone(&self) -> EndpointCardinality
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 EndpointCardinality
impl Debug for EndpointCardinality
impl Eq for EndpointCardinality
Source§impl PartialEq for EndpointCardinality
impl PartialEq for EndpointCardinality
Source§fn eq(&self, other: &EndpointCardinality) -> bool
fn eq(&self, other: &EndpointCardinality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EndpointCardinality
impl Serialize for EndpointCardinality
impl StructuralPartialEq for EndpointCardinality
Auto Trait Implementations§
impl Freeze for EndpointCardinality
impl RefUnwindSafe for EndpointCardinality
impl Send for EndpointCardinality
impl Sync for EndpointCardinality
impl Unpin for EndpointCardinality
impl UnsafeUnpin for EndpointCardinality
impl UnwindSafe for EndpointCardinality
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.