pub struct AdvanceView {
pub progress_certificate: ProgressCertificate,
}
Expand description
A message containing a proof that the view can be advanced. The proof can be either a
PhaseCertificate
or a TimeoutCertificate
for the view.
Fields§
§progress_certificate: ProgressCertificate
Trait Implementations§
source§impl BorshDeserialize for AdvanceViewwhere
ProgressCertificate: BorshDeserialize,
impl BorshDeserialize for AdvanceViewwhere
ProgressCertificate: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for AdvanceViewwhere
ProgressCertificate: BorshSerialize,
impl BorshSerialize for AdvanceViewwhere
ProgressCertificate: BorshSerialize,
source§impl Clone for AdvanceView
impl Clone for AdvanceView
source§fn clone(&self) -> AdvanceView
fn clone(&self) -> AdvanceView
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AdvanceView
impl RefUnwindSafe for AdvanceView
impl Send for AdvanceView
impl Sync for AdvanceView
impl Unpin for AdvanceView
impl UnwindSafe for AdvanceView
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)