pub struct SchemaChange {
pub change_type: SchemaChangeType,
pub target: SchemaChangeTarget,
pub options: SchemaChangeOptions,
}
Expand description
Events related to schema change.
Fields§
§change_type: SchemaChangeType
§target: SchemaChangeTarget
§options: SchemaChangeOptions
Trait Implementations§
Source§impl Clone for SchemaChange
impl Clone for SchemaChange
Source§fn clone(&self) -> SchemaChange
fn clone(&self) -> SchemaChange
Returns a duplicate 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 SchemaChange
impl Debug for SchemaChange
Source§impl FromCursor for SchemaChange
impl FromCursor for SchemaChange
Source§fn from_cursor(
cursor: &mut Cursor<&[u8]>,
version: Version,
) -> Result<SchemaChange>
fn from_cursor( cursor: &mut Cursor<&[u8]>, version: Version, ) -> Result<SchemaChange>
Tries to parse Self from a cursor of bytes.
Source§impl Hash for SchemaChange
impl Hash for SchemaChange
Source§impl Ord for SchemaChange
impl Ord for SchemaChange
Source§fn cmp(&self, other: &SchemaChange) -> Ordering
fn cmp(&self, other: &SchemaChange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchemaChange
impl PartialEq for SchemaChange
Source§impl PartialOrd for SchemaChange
impl PartialOrd for SchemaChange
Source§impl Serialize for SchemaChange
impl Serialize for SchemaChange
impl Eq for SchemaChange
impl StructuralPartialEq for SchemaChange
Auto Trait Implementations§
impl Freeze for SchemaChange
impl RefUnwindSafe for SchemaChange
impl Send for SchemaChange
impl Sync for SchemaChange
impl Unpin for SchemaChange
impl UnwindSafe for SchemaChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more