pub enum SettingsDestination {
ControlAppPage {
app_id: String,
page: String,
query: Option<BTreeMap<String, Value>>,
},
BrowserControlPage {
route: String,
query: Option<BTreeMap<String, Value>>,
},
NativeAction {
action_id: String,
},
}Expand description
Static host configuration describing where a product’s Settings affordance should navigate. Resolution and opening remain platform responsibilities.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SettingsDestination
impl Clone for SettingsDestination
Source§fn clone(&self) -> SettingsDestination
fn clone(&self) -> SettingsDestination
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 SettingsDestination
impl Debug for SettingsDestination
Source§impl<'de> Deserialize<'de> for SettingsDestination
impl<'de> Deserialize<'de> for SettingsDestination
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
impl Eq for SettingsDestination
Source§impl PartialEq for SettingsDestination
impl PartialEq for SettingsDestination
Source§impl Serialize for SettingsDestination
impl Serialize for SettingsDestination
impl StructuralPartialEq for SettingsDestination
Auto Trait Implementations§
impl Freeze for SettingsDestination
impl RefUnwindSafe for SettingsDestination
impl Send for SettingsDestination
impl Sync for SettingsDestination
impl Unpin for SettingsDestination
impl UnsafeUnpin for SettingsDestination
impl UnwindSafe for SettingsDestination
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