pub struct ChannelSettingField {
pub key: String,
pub control: SettingControl,
pub label: Option<String>,
pub required: bool,
pub default: Option<Value>,
pub placeholder: Option<String>,
}Fields§
§key: String§control: SettingControl§label: Option<String>§required: bool§default: Option<Value>§placeholder: Option<String>Trait Implementations§
Source§impl Clone for ChannelSettingField
impl Clone for ChannelSettingField
Source§fn clone(&self) -> ChannelSettingField
fn clone(&self) -> ChannelSettingField
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 ChannelSettingField
impl Debug for ChannelSettingField
Source§impl<'de> Deserialize<'de> for ChannelSettingField
impl<'de> Deserialize<'de> for ChannelSettingField
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
Auto Trait Implementations§
impl Freeze for ChannelSettingField
impl RefUnwindSafe for ChannelSettingField
impl Send for ChannelSettingField
impl Sync for ChannelSettingField
impl Unpin for ChannelSettingField
impl UnsafeUnpin for ChannelSettingField
impl UnwindSafe for ChannelSettingField
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