pub struct Any {
pub type_url: String,
pub value: Vec<u8>,
}Expand description
A wrapper around the protobuf Any type. Converts to or from
prost_types::Any or pbjson_types::Any.
Fields§
§type_url: String§value: Vec<u8>Implementations§
Trait Implementations§
impl StructuralPartialEq for Any
Auto Trait Implementations§
impl Freeze for Any
impl RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl UnsafeUnpin for Any
impl UnwindSafe for Any
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