pub struct OpenTalkInstanceAccountId(/* private fields */);Expand description
The full id of a stored OpenTalk account, including the OpenTalkInstanceId and the OpenTalkAccountId.
Implementations§
Source§impl OpenTalkInstanceAccountId
impl OpenTalkInstanceAccountId
Sourcepub fn instance_id(&self) -> &OpenTalkInstanceId
pub fn instance_id(&self) -> &OpenTalkInstanceId
Get the instance id.
Sourcepub fn account_id(&self) -> &OpenTalkAccountId
pub fn account_id(&self) -> &OpenTalkAccountId
Get the account id.
Source§impl OpenTalkInstanceAccountId
impl OpenTalkInstanceAccountId
Sourcepub fn to_file_stem(&self) -> String
pub fn to_file_stem(&self) -> String
Convert the id to a file stem that can be used to store the account data.
Trait Implementations§
Source§impl Clone for OpenTalkInstanceAccountId
impl Clone for OpenTalkInstanceAccountId
Source§fn clone(&self) -> OpenTalkInstanceAccountId
fn clone(&self) -> OpenTalkInstanceAccountId
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 OpenTalkInstanceAccountId
impl Debug for OpenTalkInstanceAccountId
Source§impl From<(OpenTalkInstanceId, OpenTalkAccountId)> for OpenTalkInstanceAccountId
impl From<(OpenTalkInstanceId, OpenTalkAccountId)> for OpenTalkInstanceAccountId
Source§fn from((instance, account): (OpenTalkInstanceId, OpenTalkAccountId)) -> Self
fn from((instance, account): (OpenTalkInstanceId, OpenTalkAccountId)) -> Self
Converts to this type from the input type.
Source§impl Hash for OpenTalkInstanceAccountId
impl Hash for OpenTalkInstanceAccountId
Source§impl Ord for OpenTalkInstanceAccountId
impl Ord for OpenTalkInstanceAccountId
Source§fn cmp(&self, other: &OpenTalkInstanceAccountId) -> Ordering
fn cmp(&self, other: &OpenTalkInstanceAccountId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for OpenTalkInstanceAccountId
impl PartialOrd for OpenTalkInstanceAccountId
impl Eq for OpenTalkInstanceAccountId
impl StructuralPartialEq for OpenTalkInstanceAccountId
Auto Trait Implementations§
impl Freeze for OpenTalkInstanceAccountId
impl RefUnwindSafe for OpenTalkInstanceAccountId
impl Send for OpenTalkInstanceAccountId
impl Sync for OpenTalkInstanceAccountId
impl Unpin for OpenTalkInstanceAccountId
impl UnsafeUnpin for OpenTalkInstanceAccountId
impl UnwindSafe for OpenTalkInstanceAccountId
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