pub struct DatabaseChangeset {
pub db_path: String,
pub changes: ChangesetModels,
}Fields§
§db_path: String§changes: ChangesetModelsImplementations§
Source§impl DatabaseChangeset
impl DatabaseChangeset
pub fn get_db_path(path: &StdPath) -> String
Trait Implementations§
Source§impl<'a> Capnp<'a> for DatabaseChangeset
impl<'a> Capnp<'a> for DatabaseChangeset
Source§impl Debug for DatabaseChangeset
impl Debug for DatabaseChangeset
Source§impl<'de> Deserialize<'de> for DatabaseChangeset
impl<'de> Deserialize<'de> for DatabaseChangeset
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 DatabaseChangeset
impl PartialEq for DatabaseChangeset
Source§impl Serialize for DatabaseChangeset
impl Serialize for DatabaseChangeset
impl StructuralPartialEq for DatabaseChangeset
Auto Trait Implementations§
impl Freeze for DatabaseChangeset
impl RefUnwindSafe for DatabaseChangeset
impl Send for DatabaseChangeset
impl Sync for DatabaseChangeset
impl Unpin for DatabaseChangeset
impl UnsafeUnpin for DatabaseChangeset
impl UnwindSafe for DatabaseChangeset
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> 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