Struct primitives::sentry::LastApproved
source · pub struct LastApproved<S: BalancesState> {
pub new_state: Option<MessageResponse<NewState<S>>>,
pub approve_state: Option<MessageResponse<ApproveState>>,
}
Expand description
The last approved NewState
and ApproveState
accordingly to the validator.
Fields
new_state: Option<MessageResponse<NewState<S>>>
approve_state: Option<MessageResponse<ApproveState>>
ApproveState
can be None
if the Channel
is brand new.
Trait Implementations
sourceimpl<S: Debug + BalancesState> Debug for LastApproved<S>
impl<S: Debug + BalancesState> Debug for LastApproved<S>
sourceimpl<'de, S: BalancesState> Deserialize<'de> for LastApproved<S>where
S: BalancesState,
impl<'de, S: BalancesState> Deserialize<'de> for LastApproved<S>where
S: BalancesState,
sourcefn 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
sourceimpl<S: PartialEq + BalancesState> PartialEq<LastApproved<S>> for LastApproved<S>
impl<S: PartialEq + BalancesState> PartialEq<LastApproved<S>> for LastApproved<S>
sourcefn eq(&self, other: &LastApproved<S>) -> bool
fn eq(&self, other: &LastApproved<S>) -> bool
sourceimpl<S: BalancesState> Serialize for LastApproved<S>where
S: BalancesState,
impl<S: BalancesState> Serialize for LastApproved<S>where
S: BalancesState,
impl<S: Eq + BalancesState> Eq for LastApproved<S>
impl<S: BalancesState> StructuralEq for LastApproved<S>
impl<S: BalancesState> StructuralPartialEq for LastApproved<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for LastApproved<S>where
S: RefUnwindSafe,
impl<S> Send for LastApproved<S>where
S: Send,
impl<S> Sync for LastApproved<S>where
S: Sync,
impl<S> Unpin for LastApproved<S>where
S: Unpin,
impl<S> UnwindSafe for LastApproved<S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more