pub struct ChannelAssignment {
pub capability: String,
pub channel: String,
}Expand description
An assignment of a parameter to a XIO module channel.
Fields§
§capability: StringThe capability identifier.
The capability must be defined in the
xio_hwdb::HardwareBoardDescription used.
channel: StringThe assigned channel in the XIO module.
The channel must be defined in the xio_hwdb::Module description
that backs the referenced capability.
Trait Implementations§
Source§impl Clone for ChannelAssignment
impl Clone for ChannelAssignment
Source§fn clone(&self) -> ChannelAssignment
fn clone(&self) -> ChannelAssignment
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 ChannelAssignment
impl Debug for ChannelAssignment
Source§impl Default for ChannelAssignment
impl Default for ChannelAssignment
Source§fn default() -> ChannelAssignment
fn default() -> ChannelAssignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelAssignment
impl<'de> Deserialize<'de> for ChannelAssignment
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 ChannelAssignment
Source§impl PartialEq for ChannelAssignment
impl PartialEq for ChannelAssignment
Source§impl Serialize for ChannelAssignment
impl Serialize for ChannelAssignment
impl StructuralPartialEq for ChannelAssignment
Auto Trait Implementations§
impl Freeze for ChannelAssignment
impl RefUnwindSafe for ChannelAssignment
impl Send for ChannelAssignment
impl Sync for ChannelAssignment
impl Unpin for ChannelAssignment
impl UnsafeUnpin for ChannelAssignment
impl UnwindSafe for ChannelAssignment
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.