pub struct OpenUrlAction {
pub type: Type,
pub url: String,
}
Expand description
OpenUrlAction : An action that opens a URL.
Fields§
§type: Type
§url: String
Implementations§
Source§impl OpenUrlAction
impl OpenUrlAction
Sourcepub fn new(type: Type, url: String) -> OpenUrlAction
pub fn new(type: Type, url: String) -> OpenUrlAction
An action that opens a URL.
Trait Implementations§
Source§impl Clone for OpenUrlAction
impl Clone for OpenUrlAction
Source§fn clone(&self) -> OpenUrlAction
fn clone(&self) -> OpenUrlAction
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 OpenUrlAction
impl Debug for OpenUrlAction
Source§impl Default for OpenUrlAction
impl Default for OpenUrlAction
Source§fn default() -> OpenUrlAction
fn default() -> OpenUrlAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenUrlAction
impl<'de> Deserialize<'de> for OpenUrlAction
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 OpenUrlAction
impl PartialEq for OpenUrlAction
Source§impl Serialize for OpenUrlAction
impl Serialize for OpenUrlAction
impl StructuralPartialEq for OpenUrlAction
Auto Trait Implementations§
impl Freeze for OpenUrlAction
impl RefUnwindSafe for OpenUrlAction
impl Send for OpenUrlAction
impl Sync for OpenUrlAction
impl Unpin for OpenUrlAction
impl UnwindSafe for OpenUrlAction
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