pub struct UserActionOption {
pub localized_names: Option<Value>,
pub name: Option<String>,
}
Expand description
UserActionOption : Models content user action options.
Fields§
§localized_names: Option<Value>
Models a set of localized Strings that can be stored as JSON.
name: Option<String>
Implementations§
source§impl UserActionOption
impl UserActionOption
sourcepub fn new() -> UserActionOption
pub fn new() -> UserActionOption
Models content user action options.
Trait Implementations§
source§impl Clone for UserActionOption
impl Clone for UserActionOption
source§fn clone(&self) -> UserActionOption
fn clone(&self) -> UserActionOption
Returns a copy 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 UserActionOption
impl Debug for UserActionOption
source§impl Default for UserActionOption
impl Default for UserActionOption
source§fn default() -> UserActionOption
fn default() -> UserActionOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserActionOption
impl<'de> Deserialize<'de> for UserActionOption
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 UserActionOption
impl PartialEq for UserActionOption
source§fn eq(&self, other: &UserActionOption) -> bool
fn eq(&self, other: &UserActionOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserActionOption
impl Serialize for UserActionOption
impl StructuralPartialEq for UserActionOption
Auto Trait Implementations§
impl RefUnwindSafe for UserActionOption
impl Send for UserActionOption
impl Sync for UserActionOption
impl Unpin for UserActionOption
impl UnwindSafe for UserActionOption
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