Struct cyfs_lib::BdtNetworkAccessSn
source · pub struct BdtNetworkAccessSn {
pub sn: DeviceId,
pub sn_status: SnStatus,
}
Fields§
§sn: DeviceId
§sn_status: SnStatus
Trait Implementations§
source§impl Clone for BdtNetworkAccessSn
impl Clone for BdtNetworkAccessSn
source§fn clone(&self) -> BdtNetworkAccessSn
fn clone(&self) -> BdtNetworkAccessSn
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 BdtNetworkAccessSn
impl Debug for BdtNetworkAccessSn
source§impl JsonCodec<BdtNetworkAccessSn> for BdtNetworkAccessSn
impl JsonCodec<BdtNetworkAccessSn> for BdtNetworkAccessSn
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
source§impl PartialEq<BdtNetworkAccessSn> for BdtNetworkAccessSn
impl PartialEq<BdtNetworkAccessSn> for BdtNetworkAccessSn
source§fn eq(&self, other: &BdtNetworkAccessSn) -> bool
fn eq(&self, other: &BdtNetworkAccessSn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.