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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BdtNetworkAccessEndpoint) -> bool
fn ne(&self, other: &BdtNetworkAccessEndpoint) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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