pub struct SettingResult {
pub description: Option<String>,
pub icon: Option<String>,
pub route_id: Option<String>,
pub route_parameter_mapping: Option<Value>,
pub scope: Option<Scope>,
pub title: Option<String>,
}Expand description
Defines the setting result that matched a setting search request
Fields§
§description: Option<String>Description of the settings page
icon: Option<String>Icon name of the settings page
route_id: Option<String>Contribution url route id of the corresponding settings page
route_parameter_mapping: Option<Value>Contribution url route parameter of the corresponding settings page
scope: Option<Scope>Scope of the settings page, either organization, project or user
title: Option<String>Title of the settings page
Implementations§
Source§impl SettingResult
impl SettingResult
Trait Implementations§
Source§impl Clone for SettingResult
impl Clone for SettingResult
Source§fn clone(&self) -> SettingResult
fn clone(&self) -> SettingResult
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 SettingResult
impl Debug for SettingResult
Source§impl Default for SettingResult
impl Default for SettingResult
Source§fn default() -> SettingResult
fn default() -> SettingResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingResult
impl<'de> Deserialize<'de> for SettingResult
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 SettingResult
impl PartialEq for SettingResult
Source§impl Serialize for SettingResult
impl Serialize for SettingResult
impl StructuralPartialEq for SettingResult
Auto Trait Implementations§
impl Freeze for SettingResult
impl RefUnwindSafe for SettingResult
impl Send for SettingResult
impl Sync for SettingResult
impl Unpin for SettingResult
impl UnwindSafe for SettingResult
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