pub struct UpdateFieldRequest {
pub name: Option<String>,
pub options: Option<String>,
pub add_visible_flag: Option<bool>,
}Fields§
§name: Option<String>The name of the field
options: Option<String>When field_type is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. All active items must be supplied and already existing items must have their ID supplied. New items only require a label. Example: [{\"id\":123,\"label\":\"Existing Item\"},{\"label\":\"New Item\"}]
add_visible_flag: Option<bool>Whether the field is available in ‘add new’ modal or not (both in web and mobile app)
Implementations§
Source§impl UpdateFieldRequest
impl UpdateFieldRequest
pub fn new() -> UpdateFieldRequest
Trait Implementations§
Source§impl Clone for UpdateFieldRequest
impl Clone for UpdateFieldRequest
Source§fn clone(&self) -> UpdateFieldRequest
fn clone(&self) -> UpdateFieldRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateFieldRequest
impl Debug for UpdateFieldRequest
Source§impl<'de> Deserialize<'de> for UpdateFieldRequest
impl<'de> Deserialize<'de> for UpdateFieldRequest
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 UpdateFieldRequest
impl PartialEq for UpdateFieldRequest
Source§impl Serialize for UpdateFieldRequest
impl Serialize for UpdateFieldRequest
impl StructuralPartialEq for UpdateFieldRequest
Auto Trait Implementations§
impl Freeze for UpdateFieldRequest
impl RefUnwindSafe for UpdateFieldRequest
impl Send for UpdateFieldRequest
impl Sync for UpdateFieldRequest
impl Unpin for UpdateFieldRequest
impl UnwindSafe for UpdateFieldRequest
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