Type Alias CardProfileInfo2

Source
pub type CardProfileInfo2<'a> = CardProfileInfo<'a>;
👎Deprecated since 2.28.0: Use the name CardProfileInfo instead
Expand description

Backwards compatable alias

Aliased Type§

struct CardProfileInfo2<'a> {
    pub name: Option<Cow<'a, str>>,
    pub description: Option<Cow<'a, str>>,
    pub n_sinks: u32,
    pub n_sources: u32,
    pub priority: u32,
    pub available: bool,
}

Fields§

§name: Option<Cow<'a, str>>

Name of this profile.

§description: Option<Cow<'a, str>>

Description of this profile.

§n_sinks: u32

Number of sinks this profile would create.

§n_sources: u32

Number of sources this profile would create.

§priority: u32

The higher this value is, the more useful this profile is as a default.

§available: bool

Is this profile available? If this is false, meaning “unavailable”, then it makes no sense to try to activate this profile. If this is true, it’s still not a guarantee that activating the profile will result in anything useful, it just means that the server isn’t aware of any reason why the profile would definitely be useless.