pub struct AttemptRole {
pub role: String,
pub challenger: Option<Challenger>,
pub budget: Budget,
}Expand description
The three fields a v1.7 certificate adds to sequential (spec v1.7 §2.2 to §2.4).
Fields§
§role: String§challenger: Option<Challenger>§budget: BudgetTrait Implementations§
Source§impl Clone for AttemptRole
impl Clone for AttemptRole
Source§impl Debug for AttemptRole
impl Debug for AttemptRole
Source§impl<'de> Deserialize<'de> for AttemptRole
impl<'de> Deserialize<'de> for AttemptRole
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
Source§impl PartialEq for AttemptRole
impl PartialEq for AttemptRole
impl StructuralPartialEq for AttemptRole
Auto Trait Implementations§
impl Forget for AttemptRole
impl Freeze for AttemptRole
impl Move for AttemptRole
impl RefUnwindSafe for AttemptRole
impl Send for AttemptRolewhere
RawVecInner: Send,
impl Sync for AttemptRolewhere
RawVecInner: Sync,
impl Unpin for AttemptRole
impl UnsafeUnpin for AttemptRolewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for AttemptRolewhere
RawVecInner: UnwindSafe,
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