pub struct ProtobufField {
pub name: String,
pub ty: ProtobufType,
pub required: bool,
}Fieldsยง
ยงname: Stringยงty: ProtobufTypeยงrequired: boolTrait Implementationsยง
Sourceยงimpl Clone for ProtobufField
impl Clone for ProtobufField
Sourceยงfn clone(&self) -> ProtobufField
fn clone(&self) -> ProtobufField
Returns a duplicate of the value. Read more
1.0.0 ยท 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 ProtobufField
impl Debug for ProtobufField
Sourceยงimpl Ord for ProtobufField
impl Ord for ProtobufField
Sourceยงfn cmp(&self, other: &ProtobufField) -> Ordering
fn cmp(&self, other: &ProtobufField) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for ProtobufField
impl PartialEq for ProtobufField
Sourceยงimpl PartialOrd for ProtobufField
impl PartialOrd for ProtobufField
impl Eq for ProtobufField
impl StructuralPartialEq for ProtobufField
Auto Trait Implementationsยง
impl Freeze for ProtobufField
impl RefUnwindSafe for ProtobufField
impl Send for ProtobufField
impl Sync for ProtobufField
impl Unpin for ProtobufField
impl UnwindSafe for ProtobufField
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> Comparable<K> for Q
impl<Q, K> Comparable<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<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