pub struct GRPCServiceDefinition {
pub name: String,
pub host: String,
pub port: Option<u16>,
pub authentication: Option<ReferenceableAuthenticationPolicy>,
}Expand description
Represents the GRPC service definition
Fields§
§name: StringGets/sets the name of the GRPC service to call
host: StringGets/sets the hostname of the GRPC service to call
port: Option<u16>Gets/sets the port number of the GRPC service to call
authentication: Option<ReferenceableAuthenticationPolicy>Gets/sets the endpoint’s authentication policy, if any
Trait Implementations§
Source§impl Clone for GRPCServiceDefinition
impl Clone for GRPCServiceDefinition
Source§fn clone(&self) -> GRPCServiceDefinition
fn clone(&self) -> GRPCServiceDefinition
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 GRPCServiceDefinition
impl Debug for GRPCServiceDefinition
Source§impl Default for GRPCServiceDefinition
impl Default for GRPCServiceDefinition
Source§fn default() -> GRPCServiceDefinition
fn default() -> GRPCServiceDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GRPCServiceDefinition
impl<'de> Deserialize<'de> for GRPCServiceDefinition
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 GRPCServiceDefinition
impl PartialEq for GRPCServiceDefinition
Source§fn eq(&self, other: &GRPCServiceDefinition) -> bool
fn eq(&self, other: &GRPCServiceDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GRPCServiceDefinition
impl Serialize for GRPCServiceDefinition
impl Eq for GRPCServiceDefinition
impl StructuralPartialEq for GRPCServiceDefinition
Auto Trait Implementations§
impl Freeze for GRPCServiceDefinition
impl RefUnwindSafe for GRPCServiceDefinition
impl Send for GRPCServiceDefinition
impl Sync for GRPCServiceDefinition
impl Unpin for GRPCServiceDefinition
impl UnsafeUnpin for GRPCServiceDefinition
impl UnwindSafe for GRPCServiceDefinition
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