[−][src]Trait structsy::internal::Persistent
Trait implemented by persistent struct, implementation automatically generated by structsy_derive.
Required methods
fn get_name() -> &'static str
fn get_description() -> StructDescription
fn write(&self, write: &mut dyn Write) -> SRes<()>
fn read(read: &mut dyn Read) -> SRes<Self> where
Self: Sized,
Self: Sized,
fn declare(db: &mut dyn Sytx) -> SRes<()>
fn put_indexes(&self, tx: &mut dyn Sytx, id: &Ref<Self>) -> SRes<()> where
Self: Sized,
Self: Sized,
fn remove_indexes(&self, tx: &mut dyn Sytx, id: &Ref<Self>) -> SRes<()> where
Self: Sized,
Self: Sized,