pub struct DynamicMemberBuilder { /* private fields */ }Implementations§
Source§impl DynamicMemberBuilder
impl DynamicMemberBuilder
pub fn new(name: impl Into<String>, type_spec: DynamicTypeSpec) -> Self
pub fn primitive(name: impl Into<String>, kind: DynamicPrimitiveKind) -> Self
pub fn id(self, id: u32) -> Self
pub fn at_index(self, index: u32) -> Self
pub fn at_start(self) -> Self
pub fn first(self) -> Self
pub fn at_end(self) -> Self
pub fn last(self) -> Self
pub fn labels(self, labels: &[i32]) -> Self
pub fn default_label(self) -> Self
pub fn union_labels(self, labels: &[i32]) -> Self
pub fn union_default(self) -> Self
pub fn key(self) -> Self
pub fn optional(self) -> Self
pub fn external(self) -> Self
pub fn must_understand(self) -> Self
pub fn hash_id(self, hash_id_name: impl Into<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DynamicMemberBuilder
impl RefUnwindSafe for DynamicMemberBuilder
impl !Send for DynamicMemberBuilder
impl !Sync for DynamicMemberBuilder
impl Unpin for DynamicMemberBuilder
impl UnsafeUnpin for DynamicMemberBuilder
impl UnwindSafe for DynamicMemberBuilder
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> 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