pub struct RemoteBytes(pub Vec<u8>);Expand description
Binary value for registered query and command parameters. Plain Vec<u8>
serializes as a JSON array, so callers use this wrapper when the remote
operation schema expects the protocol’s bytes value.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Clone for RemoteBytes
impl Clone for RemoteBytes
Source§fn clone(&self) -> RemoteBytes
fn clone(&self) -> RemoteBytes
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 moreSource§impl Debug for RemoteBytes
impl Debug for RemoteBytes
impl Eq for RemoteBytes
Source§impl PartialEq for RemoteBytes
impl PartialEq for RemoteBytes
Source§impl Serialize for RemoteBytes
impl Serialize for RemoteBytes
impl StructuralPartialEq for RemoteBytes
Auto Trait Implementations§
impl Freeze for RemoteBytes
impl RefUnwindSafe for RemoteBytes
impl Send for RemoteBytes
impl Sync for RemoteBytes
impl Unpin for RemoteBytes
impl UnsafeUnpin for RemoteBytes
impl UnwindSafe for RemoteBytes
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