pub struct DevicePollOut {
pub connector: Option<Box<ConnView>>,
pub interval: Option<i32>,
pub status: Option<String>,
}Fields§
§connector: Option<Box<ConnView>>Connection is the connected connector. Present only on "connected".
interval: Option<i32>Interval is the seconds to wait before the next poll. Present only while pending, and it may rise when the provider asks the client to slow down.
status: Option<String>Status is the flow’s state. "pending" means poll again after Interval.
Implementations§
Source§impl DevicePollOut
impl DevicePollOut
pub fn new() -> DevicePollOut
Trait Implementations§
Source§impl Clone for DevicePollOut
impl Clone for DevicePollOut
Source§fn clone(&self) -> DevicePollOut
fn clone(&self) -> DevicePollOut
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 DevicePollOut
impl Debug for DevicePollOut
Source§impl Default for DevicePollOut
impl Default for DevicePollOut
Source§fn default() -> DevicePollOut
fn default() -> DevicePollOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DevicePollOut
impl<'de> Deserialize<'de> for DevicePollOut
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
Source§impl PartialEq for DevicePollOut
impl PartialEq for DevicePollOut
Source§impl Serialize for DevicePollOut
impl Serialize for DevicePollOut
impl StructuralPartialEq for DevicePollOut
Auto Trait Implementations§
impl Freeze for DevicePollOut
impl RefUnwindSafe for DevicePollOut
impl Send for DevicePollOut
impl Sync for DevicePollOut
impl Unpin for DevicePollOut
impl UnsafeUnpin for DevicePollOut
impl UnwindSafe for DevicePollOut
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