pub struct ModchannelSignalSpec {
pub signal_tmp: u8,
pub channel: String,
pub state: Option<u8>,
}
Fields§
§signal_tmp: u8
§channel: String
§state: Option<u8>
Trait Implementations§
Source§impl Clone for ModchannelSignalSpec
impl Clone for ModchannelSignalSpec
Source§fn clone(&self) -> ModchannelSignalSpec
fn clone(&self) -> ModchannelSignalSpec
Returns a copy of the value. Read more
1.0.0 · 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 ModchannelSignalSpec
impl Debug for ModchannelSignalSpec
Source§impl Deserialize for ModchannelSignalSpec
impl Deserialize for ModchannelSignalSpec
Source§type Output = ModchannelSignalSpec
type Output = ModchannelSignalSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<ModchannelSignalSpec> for ToClientCommand
impl From<ModchannelSignalSpec> for ToClientCommand
Source§fn from(value: ModchannelSignalSpec) -> Self
fn from(value: ModchannelSignalSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModchannelSignalSpec
impl PartialEq for ModchannelSignalSpec
Source§impl Serialize for ModchannelSignalSpec
impl Serialize for ModchannelSignalSpec
type Input = ModchannelSignalSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for ModchannelSignalSpec
Auto Trait Implementations§
impl Freeze for ModchannelSignalSpec
impl RefUnwindSafe for ModchannelSignalSpec
impl Send for ModchannelSignalSpec
impl Sync for ModchannelSignalSpec
impl Unpin for ModchannelSignalSpec
impl UnwindSafe for ModchannelSignalSpec
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