pub struct RadioGroup {
pub id: Option<u32>,
pub custom_id: String,
pub options: Vec<SelectOption>,
pub required: Option<bool>,
}Expand description
Type 21.
Fields§
§id: Option<u32>Unique in the modal.
custom_id: String1–100 bytes.
options: Vec<SelectOption>2–10.
required: Option<bool>Default true.
Trait Implementations§
Source§impl Clone for RadioGroup
impl Clone for RadioGroup
Source§fn clone(&self) -> RadioGroup
fn clone(&self) -> RadioGroup
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 RadioGroup
impl Debug for RadioGroup
Source§impl<'de> Deserialize<'de> for RadioGroup
impl<'de> Deserialize<'de> for RadioGroup
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 RadioGroup
Source§impl PartialEq for RadioGroup
impl PartialEq for RadioGroup
Source§impl Serialize for RadioGroup
impl Serialize for RadioGroup
impl StructuralPartialEq for RadioGroup
Auto Trait Implementations§
impl Freeze for RadioGroup
impl RefUnwindSafe for RadioGroup
impl Send for RadioGroup
impl Sync for RadioGroup
impl Unpin for RadioGroup
impl UnsafeUnpin for RadioGroup
impl UnwindSafe for RadioGroup
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