pub struct EndpointBinding {
pub binding_id: String,
pub service_ref: ServiceReference,
pub resolver_source: EndpointResolverSource,
pub allowed_bindings: Vec<ServiceTransportBinding>,
pub identity_policy: ServiceIdentityPolicy,
pub selection_policy: EndpointSelectionPolicy,
pub cache_policy: EndpointCachePolicy,
}Fields§
§binding_id: String§service_ref: ServiceReference§resolver_source: EndpointResolverSource§allowed_bindings: Vec<ServiceTransportBinding>§identity_policy: ServiceIdentityPolicy§selection_policy: EndpointSelectionPolicy§cache_policy: EndpointCachePolicyTrait Implementations§
Source§impl Clone for EndpointBinding
impl Clone for EndpointBinding
Source§fn clone(&self) -> EndpointBinding
fn clone(&self) -> EndpointBinding
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 EndpointBinding
impl Debug for EndpointBinding
Source§impl<'de> Deserialize<'de> for EndpointBinding
impl<'de> Deserialize<'de> for EndpointBinding
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
impl Eq for EndpointBinding
Source§impl JsonSchema for EndpointBinding
impl JsonSchema for EndpointBinding
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EndpointBinding
impl PartialEq for EndpointBinding
Source§impl Serialize for EndpointBinding
impl Serialize for EndpointBinding
impl StructuralPartialEq for EndpointBinding
Auto Trait Implementations§
impl Freeze for EndpointBinding
impl RefUnwindSafe for EndpointBinding
impl Send for EndpointBinding
impl Sync for EndpointBinding
impl Unpin for EndpointBinding
impl UnsafeUnpin for EndpointBinding
impl UnwindSafe for EndpointBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.