pub struct StateOutcomeRetentionV1 {
pub maximum_entries: u32,
pub sequence_window: u64,
pub retired_through: Option<SeqNo>,
pub current_high_water: Option<SeqNo>,
}Fields§
§maximum_entries: u32§sequence_window: u64§retired_through: Option<SeqNo>§current_high_water: Option<SeqNo>Implementations§
Source§impl StateOutcomeRetentionV1
impl StateOutcomeRetentionV1
pub fn validate(self) -> Result<(), StateContractError>
Trait Implementations§
Source§impl Clone for StateOutcomeRetentionV1
impl Clone for StateOutcomeRetentionV1
impl Copy for StateOutcomeRetentionV1
Source§impl Debug for StateOutcomeRetentionV1
impl Debug for StateOutcomeRetentionV1
Source§impl<'de> Deserialize<'de> for StateOutcomeRetentionV1
impl<'de> Deserialize<'de> for StateOutcomeRetentionV1
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
impl Eq for StateOutcomeRetentionV1
Source§impl PartialEq for StateOutcomeRetentionV1
impl PartialEq for StateOutcomeRetentionV1
Source§impl Serialize for StateOutcomeRetentionV1
impl Serialize for StateOutcomeRetentionV1
impl StructuralPartialEq for StateOutcomeRetentionV1
Auto Trait Implementations§
impl Freeze for StateOutcomeRetentionV1
impl RefUnwindSafe for StateOutcomeRetentionV1
impl Send for StateOutcomeRetentionV1
impl Sync for StateOutcomeRetentionV1
impl Unpin for StateOutcomeRetentionV1
impl UnsafeUnpin for StateOutcomeRetentionV1
impl UnwindSafe for StateOutcomeRetentionV1
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