pub struct DynamicMessage { /* private fields */ }Trait Implementations§
Source§impl Debug for DynamicMessage
impl Debug for DynamicMessage
Source§impl ReflectMessage for DynamicMessage
impl ReflectMessage for DynamicMessage
fn descriptor(&self) -> &ReflectMessageDescriptor
fn get_field_value(&self, field_id: FieldId) -> Result<FieldValue, Error>
fn encode(&self) -> Result<Vec<u8>, Error>
fn full_name(&self) -> &str
fn fields(&self) -> &HashMap<FieldId, FieldDescriptor>
fn get_field(&self, id: FieldId) -> Option<&FieldDescriptor>
fn encode_to_prost_any(&self) -> Result<Any, Error>
fn encode_json(&self, registry: &Registry) -> Result<Value, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicMessage
impl !UnwindSafe for DynamicMessage
impl Freeze for DynamicMessage
impl Send for DynamicMessage
impl Sync for DynamicMessage
impl Unpin for DynamicMessage
impl UnsafeUnpin for DynamicMessage
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