Struct edgedb_protocol::codec::ObjectShape
source · pub struct ObjectShape(_);
Implementations§
source§impl ObjectShape
impl ObjectShape
pub fn new(elements: Vec<ShapeElement>) -> ObjectShape
Trait Implementations§
source§impl Clone for ObjectShape
impl Clone for ObjectShape
source§fn clone(&self) -> ObjectShape
fn clone(&self) -> ObjectShape
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 ObjectShape
impl Debug for ObjectShape
source§impl Deref for ObjectShape
impl Deref for ObjectShape
§type Target = ObjectShapeInfo
type Target = ObjectShapeInfo
The resulting type after dereferencing.
source§fn deref(&self) -> &ObjectShapeInfo
fn deref(&self) -> &ObjectShapeInfo
Dereferences the value.
source§impl<'a> From<&'a [ShapeElement]> for ObjectShape
impl<'a> From<&'a [ShapeElement]> for ObjectShape
source§fn from(shape: &'a [ShapeElement]) -> ObjectShape
fn from(shape: &'a [ShapeElement]) -> ObjectShape
Converts to this type from the input type.
source§impl PartialEq<ObjectShape> for ObjectShape
impl PartialEq<ObjectShape> for ObjectShape
source§fn eq(&self, other: &ObjectShape) -> bool
fn eq(&self, other: &ObjectShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObjectShape
impl StructuralEq for ObjectShape
impl StructuralPartialEq for ObjectShape
Auto Trait Implementations§
impl RefUnwindSafe for ObjectShape
impl Send for ObjectShape
impl Sync for ObjectShape
impl Unpin for ObjectShape
impl UnwindSafe for ObjectShape
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