Struct AboutMetadata
pub struct AboutMetadata {
pub name: Option<String>,
pub version: Option<String>,
pub short_version: Option<String>,
pub authors: Option<Vec<String>>,
pub comments: Option<String>,
pub copyright: Option<String>,
pub license: Option<String>,
pub website: Option<String>,
pub website_label: Option<String>,
pub credits: Option<String>,
pub icon: Option<Icon>,
}Available on crate feature
tray only.Expand description
Application metadata for the PredefinedMenuItem::about dialog.
Fields§
§name: Option<String>Sets the application name.
version: Option<String>The application version.
short_version: Option<String>The short version, e.g. “1.0”.
§Platform-specific
- Windows / Linux: Appended to the end of
versionin parentheses.
comments: Option<String>§copyright: Option<String>The copyright of the application.
license: Option<String>§website: Option<String>§website_label: Option<String>§credits: Option<String>§icon: Option<Icon>Trait Implementations§
§impl Clone for AboutMetadata
impl Clone for AboutMetadata
§fn clone(&self) -> AboutMetadata
fn clone(&self) -> AboutMetadata
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 more§impl Debug for AboutMetadata
impl Debug for AboutMetadata
§impl Default for AboutMetadata
impl Default for AboutMetadata
§fn default() -> AboutMetadata
fn default() -> AboutMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AboutMetadata
impl RefUnwindSafe for AboutMetadata
impl Send for AboutMetadata
impl Sync for AboutMetadata
impl Unpin for AboutMetadata
impl UnwindSafe for AboutMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().