pub struct PostSchemaFields {
pub type: CreateSchemaRequestFieldsType,
pub key: String,
pub display_name: String,
pub description: Option<String>,
pub hidden: Option<bool>,
pub options: Option<Vec<FieldsOptions>>,
pub taxonomy_key: Option<String>,
pub taxonomy_id: Option<String>,
pub namespace: Option<String>,
pub options_rules: Option<FieldsOptionsRules>,
}Fields§
§type: CreateSchemaRequestFieldsType§key: String§display_name: String§description: Option<String>§options: Option<Vec<FieldsOptions>>§taxonomy_key: Option<String>§taxonomy_id: Option<String>§namespace: Option<String>§options_rules: Option<FieldsOptionsRules>Trait Implementations§
Source§impl Clone for PostSchemaFields
impl Clone for PostSchemaFields
Source§fn clone(&self) -> PostSchemaFields
fn clone(&self) -> PostSchemaFields
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 PostSchemaFields
impl Debug for PostSchemaFields
Source§impl Default for PostSchemaFields
impl Default for PostSchemaFields
Source§fn default() -> PostSchemaFields
fn default() -> PostSchemaFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostSchemaFields
impl<'de> Deserialize<'de> for PostSchemaFields
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 PostSchemaFields
impl PartialEq for PostSchemaFields
Source§impl Serialize for PostSchemaFields
impl Serialize for PostSchemaFields
impl StructuralPartialEq for PostSchemaFields
Auto Trait Implementations§
impl Freeze for PostSchemaFields
impl RefUnwindSafe for PostSchemaFields
impl Send for PostSchemaFields
impl Sync for PostSchemaFields
impl Unpin for PostSchemaFields
impl UnsafeUnpin for PostSchemaFields
impl UnwindSafe for PostSchemaFields
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