pub struct GRPCArguments {
pub proto: ExternalResourceDefinition,
pub service: GRPCServiceDefinition,
pub method: String,
pub arguments: Option<HashMap<String, Value>>,
pub authentication: Option<ReferenceableAuthenticationPolicy>,
}Expand description
Represents the GRPC call arguments
Fields§
§proto: ExternalResourceDefinitionGets/sets the proto resource that describes the GRPC service to call
service: GRPCServiceDefinitionGets/sets the GRPC service definition
method: StringGets/sets the name of the method to call on the defined GRPC service
arguments: Option<HashMap<String, Value>>Gets/sets the arguments, if any, to call the method with
authentication: Option<ReferenceableAuthenticationPolicy>Gets/sets the authentication policy, if any, to use when calling the GRPC service
Trait Implementations§
Source§impl Clone for GRPCArguments
impl Clone for GRPCArguments
Source§fn clone(&self) -> GRPCArguments
fn clone(&self) -> GRPCArguments
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 GRPCArguments
impl Debug for GRPCArguments
Source§impl Default for GRPCArguments
impl Default for GRPCArguments
Source§fn default() -> GRPCArguments
fn default() -> GRPCArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GRPCArguments
impl<'de> Deserialize<'de> for GRPCArguments
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 GRPCArguments
impl PartialEq for GRPCArguments
Source§fn eq(&self, other: &GRPCArguments) -> bool
fn eq(&self, other: &GRPCArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GRPCArguments
impl Serialize for GRPCArguments
impl StructuralPartialEq for GRPCArguments
Auto Trait Implementations§
impl Freeze for GRPCArguments
impl RefUnwindSafe for GRPCArguments
impl Send for GRPCArguments
impl Sync for GRPCArguments
impl Unpin for GRPCArguments
impl UnsafeUnpin for GRPCArguments
impl UnwindSafe for GRPCArguments
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