pub struct Application { /* private fields */ }Expand description
Wrapper for a Parsec application
Implementations§
Source§impl Application
impl Application
Sourcepub fn new(identity: ApplicationIdentity, is_admin: bool) -> Application
pub fn new(identity: ApplicationIdentity, is_admin: bool) -> Application
Creates a new instance of ProviderIdentity.
Sourcepub fn identity(&self) -> &ApplicationIdentity
pub fn identity(&self) -> &ApplicationIdentity
Get the identity of the application
Trait Implementations§
Source§impl Clone for Application
impl Clone for Application
Source§fn clone(&self) -> Application
fn clone(&self) -> Application
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Application
impl Debug for Application
Source§impl Display for Application
impl Display for Application
Source§impl From<Application> for ApplicationName
impl From<Application> for ApplicationName
Source§fn from(app: Application) -> Self
fn from(app: Application) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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