pub struct AuthorityStatus { /* private fields */ }Expand description
Core-owned completion-authority projection.
Implementations§
Source§impl AuthorityStatus
impl AuthorityStatus
Whether canonical Core reports the authority prerequisites ready.
Sourcepub const fn may_claim_complete(&self) -> bool
pub const fn may_claim_complete(&self) -> bool
Whether canonical Core permits this caller to claim completion.
Sourcepub fn into_payload(self) -> Value
pub fn into_payload(self) -> Value
Consume this wrapper and retain the unmodified structured status.
Trait Implementations§
Source§impl Clone for AuthorityStatus
impl Clone for AuthorityStatus
Source§fn clone(&self) -> AuthorityStatus
fn clone(&self) -> AuthorityStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorityStatus
impl Debug for AuthorityStatus
Source§impl PartialEq for AuthorityStatus
impl PartialEq for AuthorityStatus
impl StructuralPartialEq for AuthorityStatus
Auto Trait Implementations§
impl Freeze for AuthorityStatus
impl RefUnwindSafe for AuthorityStatus
impl Send for AuthorityStatus
impl Sync for AuthorityStatus
impl Unpin for AuthorityStatus
impl UnsafeUnpin for AuthorityStatus
impl UnwindSafe for AuthorityStatus
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