pub struct Application {
pub type: Option<String>,
pub name: Option<String>,
}
Expand description
Application : The application the linked item is in.
Fields§
§type: Option<String>
The name-spaced type of the application, used by registered rendering apps.
name: Option<String>
The name of the application. Used in conjunction with the (remote) object icon title to display a tooltip for the link’s icon. The tooltip takes the format "\[application name\] icon title". Blank items are excluded from the tooltip title. If both items are blank, the icon tooltop displays as "Web Link". Grouping and sorting of links may place links without an application name last.
Implementations§
Source§impl Application
impl Application
Sourcepub fn new() -> Application
pub fn new() -> Application
The application the linked item is in.
Trait Implementations§
Source§impl Clone for Application
impl Clone for Application
Source§fn clone(&self) -> Application
fn clone(&self) -> Application
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 Application
impl Debug for Application
Source§impl Default for Application
impl Default for Application
Source§fn default() -> Application
fn default() -> Application
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Application
impl<'de> Deserialize<'de> for Application
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 Application
impl PartialEq for Application
Source§impl Serialize for Application
impl Serialize for Application
impl StructuralPartialEq for Application
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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