Struct cyfs_lib::BdtNetworkAccessEndpoint
source · [−]pub struct BdtNetworkAccessEndpoint {
pub lan_ep: Endpoint,
pub wan_ep: Endpoint,
pub access_type: BdtNetworkAccessType,
}
Fields
lan_ep: Endpoint
wan_ep: Endpoint
access_type: BdtNetworkAccessType
Trait Implementations
sourceimpl Clone for BdtNetworkAccessEndpoint
impl Clone for BdtNetworkAccessEndpoint
sourcefn clone(&self) -> BdtNetworkAccessEndpoint
fn clone(&self) -> BdtNetworkAccessEndpoint
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BdtNetworkAccessEndpoint
impl Debug for BdtNetworkAccessEndpoint
sourceimpl JsonCodec<BdtNetworkAccessEndpoint> for BdtNetworkAccessEndpoint
impl JsonCodec<BdtNetworkAccessEndpoint> for BdtNetworkAccessEndpoint
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
sourceimpl PartialEq<BdtNetworkAccessEndpoint> for BdtNetworkAccessEndpoint
impl PartialEq<BdtNetworkAccessEndpoint> for BdtNetworkAccessEndpoint
sourcefn eq(&self, other: &BdtNetworkAccessEndpoint) -> bool
fn eq(&self, other: &BdtNetworkAccessEndpoint) -> bool
impl Eq for BdtNetworkAccessEndpoint
impl StructuralEq for BdtNetworkAccessEndpoint
impl StructuralPartialEq for BdtNetworkAccessEndpoint
Auto Trait Implementations
impl RefUnwindSafe for BdtNetworkAccessEndpoint
impl Send for BdtNetworkAccessEndpoint
impl Sync for BdtNetworkAccessEndpoint
impl Unpin for BdtNetworkAccessEndpoint
impl UnwindSafe for BdtNetworkAccessEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more