pub(crate) struct StaticAccount {
pub(crate) name: String,
pub(crate) aliases: Option<Vec<String>>,
pub(crate) avatar: Option<String>,
pub(crate) profile_page: Option<String>,
pub(crate) provider: Option<String>,
pub(crate) openid_connect_provider: Option<String>,
pub(crate) activity_pub: Option<String>,
pub(crate) ostatus_subscribe: Option<String>,
pub(crate) mastodon: Option<MastodonAccount>,
}Expand description
Define the properties available for configuring the accounts.
Fields§
§name: StringContain the name of the account, e.g. carol@example.com
aliases: Option<Vec<String>>Contain the associated aliases for the account, e.g. vec!["https://social.example.com/@carol"]
avatar: Option<String>Contain the path to the users avatar, e.g. https://social.example.com/carol.jpeg
profile_page: Option<String>Contain the path to the users profile page, e.g. https://social.example.com/@carol
provider: Option<String>Contain the OIDC provider associated with the account, e.g. https://openid.example.com
openid_connect_provider: Option<String>Contain the OIDC provider associated with the account, e.g. https://openid.example.com
activity_pub: Option<String>Contain the ActivityPub streams address associated with the account, e.g. https://social.example.com/users/carol
ostatus_subscribe: Option<String>Contain the OStatus template address associated with the account, e.g. https://social.example.com/authorize_interaction?uri={uri}
mastodon: Option<MastodonAccount>Contain Mastodon configuration associated with the account.
Trait Implementations§
Source§impl Clone for StaticAccount
impl Clone for StaticAccount
Source§fn clone(&self) -> StaticAccount
fn clone(&self) -> StaticAccount
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more