pub struct EndpointDefinition {
pub id: DataEndpoint,
pub name: &'static str,
pub description: &'static str,
pub link_local_only: bool,
}Fields§
§id: DataEndpoint§name: &'static str§description: &'static str§link_local_only: boolTrait Implementations§
Source§impl Clone for EndpointDefinition
impl Clone for EndpointDefinition
Source§fn clone(&self) -> EndpointDefinition
fn clone(&self) -> EndpointDefinition
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 moreimpl Copy for EndpointDefinition
Source§impl Debug for EndpointDefinition
impl Debug for EndpointDefinition
impl Eq for EndpointDefinition
Source§impl PartialEq for EndpointDefinition
impl PartialEq for EndpointDefinition
Source§fn eq(&self, other: &EndpointDefinition) -> bool
fn eq(&self, other: &EndpointDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EndpointDefinition
Auto Trait Implementations§
impl Freeze for EndpointDefinition
impl RefUnwindSafe for EndpointDefinition
impl Send for EndpointDefinition
impl Sync for EndpointDefinition
impl Unpin for EndpointDefinition
impl UnsafeUnpin for EndpointDefinition
impl UnwindSafe for EndpointDefinition
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