pub struct Changeset {
pub tables: Vec<TableChangeset>,
}Expand description
A complete changeset covering one or more tables.
Fields§
§tables: Vec<TableChangeset>Implementations§
Source§impl Changeset
impl Changeset
Sourcepub fn encode_patchset(&self) -> Vec<u8> ⓘ
pub fn encode_patchset(&self) -> Vec<u8> ⓘ
Encode the entire changeset as a patchset (compact form).
Sourcepub fn decode_patchset(data: &[u8]) -> Option<Self>
pub fn decode_patchset(data: &[u8]) -> Option<Self>
Decode a patchset from its binary representation.
Trait Implementations§
impl StructuralPartialEq for Changeset
Auto Trait Implementations§
impl Freeze for Changeset
impl RefUnwindSafe for Changeset
impl Send for Changeset
impl Sync for Changeset
impl Unpin for Changeset
impl UnsafeUnpin for Changeset
impl UnwindSafe for Changeset
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