pub enum ChannelRole {
Act,
Verify,
Both,
}Expand description
Role a channel plays for this provider (spine §4.1 ChannelSupport.role).
Variants§
Act
The channel can locate/act only.
Verify
The channel can verify only (the only legal role for vision).
Both
The channel can both act and verify.
Trait Implementations§
Source§impl Clone for ChannelRole
impl Clone for ChannelRole
Source§fn clone(&self) -> ChannelRole
fn clone(&self) -> ChannelRole
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 ChannelRole
Source§impl Debug for ChannelRole
impl Debug for ChannelRole
Source§impl<'de> Deserialize<'de> for ChannelRole
impl<'de> Deserialize<'de> for ChannelRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChannelRole
Source§impl Hash for ChannelRole
impl Hash for ChannelRole
Source§impl JsonSchema for ChannelRole
impl JsonSchema for ChannelRole
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for ChannelRole
impl Ord for ChannelRole
Source§fn cmp(&self, other: &ChannelRole) -> Ordering
fn cmp(&self, other: &ChannelRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelRole
impl PartialEq for ChannelRole
Source§impl PartialOrd for ChannelRole
impl PartialOrd for ChannelRole
Source§impl Serialize for ChannelRole
impl Serialize for ChannelRole
impl StructuralPartialEq for ChannelRole
Auto Trait Implementations§
impl Freeze for ChannelRole
impl RefUnwindSafe for ChannelRole
impl Send for ChannelRole
impl Sync for ChannelRole
impl Unpin for ChannelRole
impl UnsafeUnpin for ChannelRole
impl UnwindSafe for ChannelRole
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