pub struct ProtoMethod {
pub name: String,
pub input_type: String,
pub output_type: String,
pub is_streaming: bool,
}Expand description
Proto method definition.
Fields§
§name: String§input_type: String§output_type: String§is_streaming: boolTrait Implementations§
Source§impl Clone for ProtoMethod
impl Clone for ProtoMethod
Source§fn clone(&self) -> ProtoMethod
fn clone(&self) -> ProtoMethod
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 moreAuto Trait Implementations§
impl Freeze for ProtoMethod
impl RefUnwindSafe for ProtoMethod
impl Send for ProtoMethod
impl Sync for ProtoMethod
impl Unpin for ProtoMethod
impl UnsafeUnpin for ProtoMethod
impl UnwindSafe for ProtoMethod
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