pub struct ChannelSupport {
pub channel: Channel,
pub role: ChannelRole,
pub requires_feature: Option<FeatureId>,
pub requires_platform: Option<Vec<PlatformKind>>,
}Expand description
A channel the provider supports and in which role (spine §4.1
ChannelSupport).
Fields§
§channel: ChannelThe channel.
role: ChannelRoleIts role; vision may only declare verify (principle 7).
requires_feature: Option<FeatureId>Feature gating the channel (e.g. uiTree →
observation.uiSnapshot.v1).
requires_platform: Option<Vec<PlatformKind>>Platforms on which the channel is available.
Trait Implementations§
Source§impl Clone for ChannelSupport
impl Clone for ChannelSupport
Source§fn clone(&self) -> ChannelSupport
fn clone(&self) -> ChannelSupport
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 ChannelSupport
impl Debug for ChannelSupport
Source§impl<'de> Deserialize<'de> for ChannelSupport
impl<'de> Deserialize<'de> for ChannelSupport
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 ChannelSupport
Source§impl JsonSchema for ChannelSupport
impl JsonSchema for ChannelSupport
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 PartialEq for ChannelSupport
impl PartialEq for ChannelSupport
Source§impl Serialize for ChannelSupport
impl Serialize for ChannelSupport
impl StructuralPartialEq for ChannelSupport
Auto Trait Implementations§
impl Freeze for ChannelSupport
impl RefUnwindSafe for ChannelSupport
impl Send for ChannelSupport
impl Sync for ChannelSupport
impl Unpin for ChannelSupport
impl UnsafeUnpin for ChannelSupport
impl UnwindSafe for ChannelSupport
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