pub struct GlobalScopeBean {
pub attributes: Option<HashSet<Attributes>>,
}
Fields§
§attributes: Option<HashSet<Attributes>>
Defines the behavior of the option in the global context.If notSelectable is set, the option cannot be set as the field’s value. This is useful for archiving an option that has previously been selected but shouldn’t be used anymore.If defaultValue is set, the option is selected by default.
Implementations§
Source§impl GlobalScopeBean
impl GlobalScopeBean
pub fn new() -> GlobalScopeBean
Trait Implementations§
Source§impl Clone for GlobalScopeBean
impl Clone for GlobalScopeBean
Source§fn clone(&self) -> GlobalScopeBean
fn clone(&self) -> GlobalScopeBean
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 GlobalScopeBean
impl Debug for GlobalScopeBean
Source§impl Default for GlobalScopeBean
impl Default for GlobalScopeBean
Source§fn default() -> GlobalScopeBean
fn default() -> GlobalScopeBean
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GlobalScopeBean
impl<'de> Deserialize<'de> for GlobalScopeBean
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 GlobalScopeBean
impl PartialEq for GlobalScopeBean
Source§impl Serialize for GlobalScopeBean
impl Serialize for GlobalScopeBean
impl StructuralPartialEq for GlobalScopeBean
Auto Trait Implementations§
impl Freeze for GlobalScopeBean
impl RefUnwindSafe for GlobalScopeBean
impl Send for GlobalScopeBean
impl Sync for GlobalScopeBean
impl Unpin for GlobalScopeBean
impl UnwindSafe for GlobalScopeBean
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