pub struct RepeatStateSchema { /* private fields */ }Expand description
Bounded durable state-schema identity for one repeat definition.
Implementations§
Source§impl RepeatStateSchema
impl RepeatStateSchema
Sourcepub const fn new(schema: StateSchemaId, version: StateSchemaVersion) -> Self
pub const fn new(schema: StateSchemaId, version: StateSchemaVersion) -> Self
Declares the schema used by the later durable repeat-state boundary.
Sourcepub const fn schema(&self) -> &StateSchemaId
pub const fn schema(&self) -> &StateSchemaId
Borrows the state schema ID.
Sourcepub const fn version(&self) -> StateSchemaVersion
pub const fn version(&self) -> StateSchemaVersion
Returns the state schema version.
Trait Implementations§
Source§impl Clone for RepeatStateSchema
impl Clone for RepeatStateSchema
Source§impl Debug for RepeatStateSchema
impl Debug for RepeatStateSchema
impl Eq for RepeatStateSchema
Source§impl PartialEq for RepeatStateSchema
impl PartialEq for RepeatStateSchema
impl StructuralPartialEq for RepeatStateSchema
Auto Trait Implementations§
impl Forget for RepeatStateSchema
impl Freeze for RepeatStateSchema
impl Move for RepeatStateSchema
impl RefUnwindSafe for RepeatStateSchema
impl Send for RepeatStateSchema
impl Sync for RepeatStateSchema
impl Unpin for RepeatStateSchema
impl UnsafeUnpin for RepeatStateSchema
impl UnwindSafe for RepeatStateSchema
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