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>
Source§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§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