pub struct AccountProxy<'p>(/* private fields */);Expand description
Proxy interface for org.gnome.OnlineAccounts.Account.
Implementations§
Source§impl<'p> AccountProxy<'p>
impl<'p> AccountProxy<'p>
Sourcepub async fn new<P>(conn: &Connection, path: P) -> Result<AccountProxy<'p>>
pub async fn new<P>(conn: &Connection, path: P) -> Result<AccountProxy<'p>>
Creates a new proxy with the given path, and the default destination.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub fn cached_id(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_id( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Account unique identifier.
Get the cached value of the Id property, or None if the property is not cached.
Sourcepub async fn receive_id_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_id_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Account unique identifier.
Create a stream for the Id property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_identity(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_identity( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Technical identity (user name or email).
Get the cached value of the Identity property, or None if the property is not cached.
Sourcepub async fn receive_identity_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_identity_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Technical identity (user name or email).
Create a stream for the Identity property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn presentation_identity(&self) -> Result<String>
pub async fn presentation_identity(&self) -> Result<String>
Presentation identity for display.
Sourcepub fn cached_presentation_identity(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_presentation_identity( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Presentation identity for display.
Get the cached value of the PresentationIdentity property, or None if the property is not cached.
Sourcepub async fn receive_presentation_identity_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_presentation_identity_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Presentation identity for display.
Create a stream for the PresentationIdentity property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn provider_type(&self) -> Result<String>
pub async fn provider_type(&self) -> Result<String>
Provider type string (e.g. “owncloud”).
Sourcepub fn cached_provider_type(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_provider_type( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Provider type string (e.g. “owncloud”).
Get the cached value of the ProviderType property, or None if the property is not cached.
Sourcepub async fn receive_provider_type_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_provider_type_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Provider type string (e.g. “owncloud”).
Create a stream for the ProviderType property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.