pub struct EndpointDefinition {
pub uri: String,
pub authentication: Option<ReferenceableAuthenticationPolicy>,
}Expand description
Represents the definition of an endpoint
Fields§
§uri: StringGets/sets the endpoint’s uri
authentication: Option<ReferenceableAuthenticationPolicy>Gets/sets the endpoint’s authentication policy, if any
Trait 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 moreSource§impl Debug for EndpointDefinition
impl Debug for EndpointDefinition
Source§impl Default for EndpointDefinition
impl Default for EndpointDefinition
Source§fn default() -> EndpointDefinition
fn default() -> EndpointDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointDefinition
impl<'de> Deserialize<'de> for EndpointDefinition
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
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 ==.Source§impl Serialize for EndpointDefinition
impl Serialize for EndpointDefinition
impl Eq for EndpointDefinition
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