Enum okane_core::repl::AccountDetail
source · pub enum AccountDetail<'i> {
Comment(Cow<'i, str>),
Note(Cow<'i, str>),
Alias(Cow<'i, str>),
}Expand description
Sub directives for “account” directive.
Variants§
Comment(Cow<'i, str>)
Comment is a pure comment without any semantics, similar to TopLevelComment.
Note(Cow<'i, str>)
Note is a “note” sub-directive. Usually it would be one-line.
Alias(Cow<'i, str>)
Declare the given string is an alias for the declared account.
Trait Implementations§
source§impl<'i> Debug for AccountDetail<'i>
impl<'i> Debug for AccountDetail<'i>
source§impl Display for AccountDetail<'_>
impl Display for AccountDetail<'_>
source§impl<'i> IntoBoundedStatic for AccountDetail<'i>
impl<'i> IntoBoundedStatic for AccountDetail<'i>
§type Static = AccountDetail<'static>
type Static = AccountDetail<'static>
The target type is bounded by the
'static lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.source§impl<'i> PartialEq for AccountDetail<'i>
impl<'i> PartialEq for AccountDetail<'i>
source§fn eq(&self, other: &AccountDetail<'i>) -> bool
fn eq(&self, other: &AccountDetail<'i>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'i> ToBoundedStatic for AccountDetail<'i>
impl<'i> ToBoundedStatic for AccountDetail<'i>
impl<'i> Eq for AccountDetail<'i>
impl<'i> StructuralPartialEq for AccountDetail<'i>
Auto Trait Implementations§
impl<'i> Freeze for AccountDetail<'i>
impl<'i> RefUnwindSafe for AccountDetail<'i>
impl<'i> Send for AccountDetail<'i>
impl<'i> Sync for AccountDetail<'i>
impl<'i> Unpin for AccountDetail<'i>
impl<'i> UnwindSafe for AccountDetail<'i>
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