pub struct CreateCustomFieldParams {
pub name: String,
pub type_: String,
pub placeholder: Option<String>,
pub position: Option<u32>,
pub options: Option<Vec<String>>,
}Fields§
§name: String§type_: String§placeholder: Option<String>§position: Option<u32>§options: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CreateCustomFieldParams
impl Clone for CreateCustomFieldParams
Source§fn clone(&self) -> CreateCustomFieldParams
fn clone(&self) -> CreateCustomFieldParams
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 CreateCustomFieldParams
impl Debug for CreateCustomFieldParams
Source§impl Default for CreateCustomFieldParams
impl Default for CreateCustomFieldParams
Source§fn default() -> CreateCustomFieldParams
fn default() -> CreateCustomFieldParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomFieldParams
impl<'de> Deserialize<'de> for CreateCustomFieldParams
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 CreateCustomFieldParams
impl RefUnwindSafe for CreateCustomFieldParams
impl Send for CreateCustomFieldParams
impl Sync for CreateCustomFieldParams
impl Unpin for CreateCustomFieldParams
impl UnsafeUnpin for CreateCustomFieldParams
impl UnwindSafe for CreateCustomFieldParams
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