pub struct ProvisionSession {
pub session_id: String,
pub revision: u64,
pub state: ProvisionState,
pub candidate: PodCandidate,
pub expires_at_ms: i64,
pub host: Option<HostDeviceInfo>,
pub networks: Vec<WifiNetwork>,
pub addresses: Vec<String>,
pub claim_token: Option<String>,
pub error: Option<CommissionError>,
}Fields§
§session_id: String§revision: u64§state: ProvisionState§candidate: PodCandidate§expires_at_ms: i64§host: Option<HostDeviceInfo>§networks: Vec<WifiNetwork>§addresses: Vec<String>IPv4 LAN addresses reported by the Host once it joined; may be empty.
claim_token: Option<String>One-time token for the first claim of this Host, from finish.
error: Option<CommissionError>Implementations§
Trait Implementations§
Source§impl Clone for ProvisionSession
impl Clone for ProvisionSession
Source§impl Debug for ProvisionSession
impl Debug for ProvisionSession
Source§impl<'de> Deserialize<'de> for ProvisionSession
impl<'de> Deserialize<'de> for ProvisionSession
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 ProvisionSession
Source§impl PartialEq for ProvisionSession
impl PartialEq for ProvisionSession
Source§impl Serialize for ProvisionSession
impl Serialize for ProvisionSession
impl StructuralPartialEq for ProvisionSession
Auto Trait Implementations§
impl Freeze for ProvisionSession
impl RefUnwindSafe for ProvisionSession
impl Send for ProvisionSession
impl Sync for ProvisionSession
impl Unpin for ProvisionSession
impl UnsafeUnpin for ProvisionSession
impl UnwindSafe for ProvisionSession
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