pub struct Identity { /* private fields */ }Implementations§
Source§impl Identity
impl Identity
Sourcepub fn application_id(application_id: u64) -> Result<Self>
pub fn application_id(application_id: u64) -> Result<Self>
§Errors
Returns an error if the application ID is zero.
Sourcepub fn project(
project_id: impl Into<String>,
engine_version: impl Into<String>,
) -> Result<Self>
pub fn project( project_id: impl Into<String>, engine_version: impl Into<String>, ) -> Result<Self>
§Errors
Returns an error if either string is empty or contains a null byte.
pub fn application_id_value(&self) -> Option<u64>
pub fn project_id(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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