#[non_exhaustive]pub struct LiveDelegation {
pub type_: String,
pub ack_filler: Option<bool>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type_: String§ack_filler: Option<bool>§rest: RestImplementations§
Source§impl LiveDelegation
impl LiveDelegation
Sourcepub fn builder(type_: String) -> LiveDelegationBuilder
pub fn builder(type_: String) -> LiveDelegationBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for LiveDelegation
impl Clone for LiveDelegation
Source§impl Debug for LiveDelegation
impl Debug for LiveDelegation
Source§impl DeclaredFields for LiveDelegation
impl DeclaredFields for LiveDelegation
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LiveDelegation
impl<'de> Deserialize<'de> for LiveDelegation
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 LiveDelegation
impl PartialEq for LiveDelegation
Source§impl Serialize for LiveDelegation
impl Serialize for LiveDelegation
impl StructuralPartialEq for LiveDelegation
Auto Trait Implementations§
impl Freeze for LiveDelegation
impl RefUnwindSafe for LiveDelegation
impl Send for LiveDelegation
impl Sync for LiveDelegation
impl Unpin for LiveDelegation
impl UnsafeUnpin for LiveDelegation
impl UnwindSafe for LiveDelegation
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