[][src]Struct ommui_frontend_gtk::branding::Branding

pub struct Branding {
    pub company_name: String,
    pub product_name: String,
    pub company_id: String,
    pub product_id: String,
}

A set of branding properties.

Fields

company_name: String

The name of the company as a human-readable string.

product_name: String

The name of the ommui product as a human-readable string.

company_id: String

An id string of the company. Should be lower-case alphanumeric only. This gets used for determining file paths that contain the company name.

product_id: String

An id string of the product. Should be lower-case alphanumeric only. This gets used for determining file paths that contain the product name.

Methods

impl Branding[src]

pub fn load() -> Self[src]

Load a branding from the default locations.

Trait Implementations

impl Default for Branding[src]

impl Debug for Branding[src]

impl Serialize for Branding[src]

impl<'de> Deserialize<'de> for Branding[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> PathLoad for T where
    T: DeserializeOwned
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> SetParameter for T

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]