pub struct CallGRPCDefinitionBuilder { /* private fields */ }Expand description
Builder for constructing a gRPC call task.
Implementations§
Source§impl CallGRPCDefinitionBuilder
impl CallGRPCDefinitionBuilder
pub fn new(proto_url: &str, service_name: &str, method: &str) -> Self
Sourcepub fn with_argument(&mut self, name: &str, value: Value) -> &mut Self
pub fn with_argument(&mut self, name: &str, value: Value) -> &mut Self
Adds a single named argument to the gRPC call.
Sourcepub fn with_authentication_use(&mut self, auth_name: &str) -> &mut Self
pub fn with_authentication_use(&mut self, auth_name: &str) -> &mut Self
References a named authentication policy for the gRPC call.
Auto Trait Implementations§
impl Freeze for CallGRPCDefinitionBuilder
impl RefUnwindSafe for CallGRPCDefinitionBuilder
impl Send for CallGRPCDefinitionBuilder
impl Sync for CallGRPCDefinitionBuilder
impl Unpin for CallGRPCDefinitionBuilder
impl UnsafeUnpin for CallGRPCDefinitionBuilder
impl UnwindSafe for CallGRPCDefinitionBuilder
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