pub struct EntitySchemaCheckDescription { /* private fields */ }Expand description
EntitySchemaCheckDescription
Generated-vs-accepted schema description payload for one entity.
Implementations§
Source§impl EntitySchemaCheckDescription
impl EntitySchemaCheckDescription
Sourcepub const fn new(
generated: EntitySchemaDescription,
accepted: EntitySchemaDescription,
) -> Self
pub const fn new( generated: EntitySchemaDescription, accepted: EntitySchemaDescription, ) -> Self
Construct one generated-vs-accepted schema check payload.
Sourcepub const fn generated(&self) -> &EntitySchemaDescription
pub const fn generated(&self) -> &EntitySchemaDescription
Borrow the generated schema proposal description.
Sourcepub const fn accepted(&self) -> &EntitySchemaDescription
pub const fn accepted(&self) -> &EntitySchemaDescription
Borrow the accepted live-schema description.
Trait Implementations§
Source§impl Clone for EntitySchemaCheckDescription
impl Clone for EntitySchemaCheckDescription
Source§fn clone(&self) -> EntitySchemaCheckDescription
fn clone(&self) -> EntitySchemaCheckDescription
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 EntitySchemaCheckDescription
impl Debug for EntitySchemaCheckDescription
Source§impl<'de> Deserialize<'de> for EntitySchemaCheckDescription
impl<'de> Deserialize<'de> for EntitySchemaCheckDescription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntitySchemaCheckDescription
impl PartialEq for EntitySchemaCheckDescription
Source§fn eq(&self, other: &EntitySchemaCheckDescription) -> bool
fn eq(&self, other: &EntitySchemaCheckDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EntitySchemaCheckDescription
impl StructuralPartialEq for EntitySchemaCheckDescription
Auto Trait Implementations§
impl Freeze for EntitySchemaCheckDescription
impl RefUnwindSafe for EntitySchemaCheckDescription
impl Send for EntitySchemaCheckDescription
impl Sync for EntitySchemaCheckDescription
impl Unpin for EntitySchemaCheckDescription
impl UnsafeUnpin for EntitySchemaCheckDescription
impl UnwindSafe for EntitySchemaCheckDescription
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