pub struct AllowUpdate {
pub after_expiry: bool,
pub after_misbehaviour: bool,
}
Fields§
§after_expiry: bool
§after_misbehaviour: bool
Trait Implementations§
Source§impl Clone for AllowUpdate
impl Clone for AllowUpdate
Source§fn clone(&self) -> AllowUpdate
fn clone(&self) -> AllowUpdate
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 moreSource§impl Debug for AllowUpdate
impl Debug for AllowUpdate
Source§impl<'de> Deserialize<'de> for AllowUpdate
impl<'de> Deserialize<'de> for AllowUpdate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AllowUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AllowUpdate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AllowUpdate
impl PartialEq for AllowUpdate
Source§impl Serialize for AllowUpdate
impl Serialize for AllowUpdate
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for AllowUpdate
impl Eq for AllowUpdate
impl StructuralPartialEq for AllowUpdate
Auto Trait Implementations§
impl Freeze for AllowUpdate
impl RefUnwindSafe for AllowUpdate
impl Send for AllowUpdate
impl Sync for AllowUpdate
impl Unpin for AllowUpdate
impl UnwindSafe for AllowUpdate
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