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