Struct okane_core::repl::AccountDeclaration
source · pub struct AccountDeclaration<'i> {
pub name: Cow<'i, str>,
pub details: Vec<AccountDetail<'i>>,
}Expand description
“account” directive to declare account information.
Fields§
§name: Cow<'i, str>Canonical name of the account.
details: Vec<AccountDetail<'i>>sub-directives for the account.
Trait Implementations§
source§impl<'i> Debug for AccountDeclaration<'i>
impl<'i> Debug for AccountDeclaration<'i>
source§impl Display for AccountDeclaration<'_>
impl Display for AccountDeclaration<'_>
source§impl<'i> IntoBoundedStatic for AccountDeclaration<'i>
impl<'i> IntoBoundedStatic for AccountDeclaration<'i>
§type Static = AccountDeclaration<'static>
type Static = AccountDeclaration<'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 AccountDeclaration<'i>
impl<'i> PartialEq for AccountDeclaration<'i>
source§fn eq(&self, other: &AccountDeclaration<'i>) -> bool
fn eq(&self, other: &AccountDeclaration<'i>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'i> ToBoundedStatic for AccountDeclaration<'i>
impl<'i> ToBoundedStatic for AccountDeclaration<'i>
impl<'i> Eq for AccountDeclaration<'i>
impl<'i> StructuralPartialEq for AccountDeclaration<'i>
Auto Trait Implementations§
impl<'i> Freeze for AccountDeclaration<'i>
impl<'i> RefUnwindSafe for AccountDeclaration<'i>
impl<'i> Send for AccountDeclaration<'i>
impl<'i> Sync for AccountDeclaration<'i>
impl<'i> Unpin for AccountDeclaration<'i>
impl<'i> UnwindSafe for AccountDeclaration<'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