pub struct StreamContract {
pub name: &'static str,
pub action: Action,
pub transport: &'static str,
pub service: &'static str,
pub method: &'static str,
pub auth_metadata: &'static str,
pub auth_scheme: &'static str,
pub semantic_format_version: u16,
pub start_type: &'static str,
pub frame_type: &'static str,
}Fields§
§name: &'static str§action: Action§transport: &'static str§service: &'static str§method: &'static str§auth_metadata: &'static str§auth_scheme: &'static str§semantic_format_version: u16§start_type: &'static str§frame_type: &'static strTrait Implementations§
Source§impl Clone for StreamContract
impl Clone for StreamContract
Source§fn clone(&self) -> StreamContract
fn clone(&self) -> StreamContract
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 moreimpl Copy for StreamContract
Source§impl Debug for StreamContract
impl Debug for StreamContract
impl Eq for StreamContract
Source§impl PartialEq for StreamContract
impl PartialEq for StreamContract
impl StructuralPartialEq for StreamContract
Auto Trait Implementations§
impl Freeze for StreamContract
impl RefUnwindSafe for StreamContract
impl Send for StreamContract
impl Sync for StreamContract
impl Unpin for StreamContract
impl UnsafeUnpin for StreamContract
impl UnwindSafe for StreamContract
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,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request