Struct edgedb_protocol::common::RawTypedesc
source · pub struct RawTypedesc {
pub proto: ProtocolVersion,
pub id: Uuid,
pub data: Bytes,
}
Fields§
§proto: ProtocolVersion
§id: Uuid
§data: Bytes
Implementations§
source§impl RawTypedesc
impl RawTypedesc
pub fn uninitialized() -> RawTypedesc
pub fn decode(&self) -> Result<Typedesc, DecodeError>
Trait Implementations§
source§impl Clone for RawTypedesc
impl Clone for RawTypedesc
source§fn clone(&self) -> RawTypedesc
fn clone(&self) -> RawTypedesc
Returns a copy 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 RawTypedesc
impl Debug for RawTypedesc
source§impl PartialEq for RawTypedesc
impl PartialEq for RawTypedesc
source§fn eq(&self, other: &RawTypedesc) -> bool
fn eq(&self, other: &RawTypedesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RawTypedesc
impl StructuralPartialEq for RawTypedesc
Auto Trait Implementations§
impl !Freeze for RawTypedesc
impl RefUnwindSafe for RawTypedesc
impl Send for RawTypedesc
impl Sync for RawTypedesc
impl Unpin for RawTypedesc
impl UnwindSafe for RawTypedesc
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