Struct fxbox_taxonomy::devices::Set [] [src]

pub struct Set {
    pub kind: ChannelKind,
    pub push: Option<ValDuration>,
    pub updated: Option<TimeStamp>,
    // some fields omitted
}

An output operation available on an service.

Fields

kind

The kind of value that can be sent to this service.

push

If Some(duration), this service supports pushing, i.e. the FoxBox can send values.

updated

Date at which the latest value was sent to the service.

Trait Implementations

impl Deserialize for Set

fn deserialize<__D>(deserializer: &mut __D) -> Result<Set, __D::Error> where __D: Deserializer

impl Serialize for Set

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

impl IOMechanism for Set

Derived Implementations

impl Clone for Set

fn clone(&self) -> Set

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Set

fn fmt(&self, __arg_0: &mut Formatter) -> Result