pub struct ScopeDefinition {
pub value: String,
pub label: String,
pub description: Option<Option<String>>,
pub requires_resource_path: bool,
}
Fields§
§value: String
§label: String
§description: Option<Option<String>>
§requires_resource_path: bool
Implementations§
Trait Implementations§
Source§impl Clone for ScopeDefinition
impl Clone for ScopeDefinition
Source§fn clone(&self) -> ScopeDefinition
fn clone(&self) -> ScopeDefinition
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 ScopeDefinition
impl Debug for ScopeDefinition
Source§impl Default for ScopeDefinition
impl Default for ScopeDefinition
Source§fn default() -> ScopeDefinition
fn default() -> ScopeDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScopeDefinition
impl<'de> Deserialize<'de> for ScopeDefinition
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 ScopeDefinition
impl PartialEq for ScopeDefinition
Source§impl Serialize for ScopeDefinition
impl Serialize for ScopeDefinition
impl StructuralPartialEq for ScopeDefinition
Auto Trait Implementations§
impl Freeze for ScopeDefinition
impl RefUnwindSafe for ScopeDefinition
impl Send for ScopeDefinition
impl Sync for ScopeDefinition
impl Unpin for ScopeDefinition
impl UnwindSafe for ScopeDefinition
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