#[non_exhaustive]pub struct LegacyFunctionChoice {
pub name: String,
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.name: String§rest: RestImplementations§
Source§impl LegacyFunctionChoice
impl LegacyFunctionChoice
Sourcepub fn builder(name: String) -> LegacyFunctionChoiceBuilder
pub fn builder(name: String) -> LegacyFunctionChoiceBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for LegacyFunctionChoice
impl Clone for LegacyFunctionChoice
Source§impl Debug for LegacyFunctionChoice
impl Debug for LegacyFunctionChoice
Source§impl DeclaredFields for LegacyFunctionChoice
impl DeclaredFields for LegacyFunctionChoice
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LegacyFunctionChoice
impl<'de> Deserialize<'de> for LegacyFunctionChoice
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
impl Eq for LegacyFunctionChoice
Source§impl PartialEq for LegacyFunctionChoice
impl PartialEq for LegacyFunctionChoice
Source§impl Serialize for LegacyFunctionChoice
impl Serialize for LegacyFunctionChoice
impl StructuralPartialEq for LegacyFunctionChoice
Auto Trait Implementations§
impl Freeze for LegacyFunctionChoice
impl RefUnwindSafe for LegacyFunctionChoice
impl Send for LegacyFunctionChoice
impl Sync for LegacyFunctionChoice
impl Unpin for LegacyFunctionChoice
impl UnsafeUnpin for LegacyFunctionChoice
impl UnwindSafe for LegacyFunctionChoice
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