Struct ashpd::desktop::account::UserInformationRequest
source · pub struct UserInformationRequest { /* private fields */ }
Expand description
A builder-pattern type to construct UserInformation
.
Implementations§
source§impl UserInformationRequest
impl UserInformationRequest
sourcepub fn reason<'a>(self, reason: impl Into<Option<&'a str>>) -> Self
pub fn reason<'a>(self, reason: impl Into<Option<&'a str>>) -> Self
Sets a user-visible reason for the request.
sourcepub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
pub fn identifier(self, identifier: impl Into<Option<WindowIdentifier>>) -> Self
Sets a window identifier.
sourcepub async fn send(self) -> Result<Request<UserInformation>, Error>
pub async fn send(self) -> Result<Request<UserInformation>, Error>
Build the UserInformation
.
Trait Implementations§
source§impl Debug for UserInformationRequest
impl Debug for UserInformationRequest
source§impl Default for UserInformationRequest
impl Default for UserInformationRequest
source§fn default() -> UserInformationRequest
fn default() -> UserInformationRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserInformationRequest
impl RefUnwindSafe for UserInformationRequest
impl Send for UserInformationRequest
impl Sync for UserInformationRequest
impl Unpin for UserInformationRequest
impl UnwindSafe for UserInformationRequest
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.