Struct znap_lang::ActionMetadata
source · pub struct ActionMetadata {
pub icon: &'static str,
pub title: &'static str,
pub description: &'static str,
pub label: &'static str,
}
Fields§
§icon: &'static str
§title: &'static str
§description: &'static str
§label: &'static str
Trait Implementations§
source§impl Debug for ActionMetadata
impl Debug for ActionMetadata
source§impl PartialEq for ActionMetadata
impl PartialEq for ActionMetadata
source§fn eq(&self, other: &ActionMetadata) -> bool
fn eq(&self, other: &ActionMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActionMetadata
impl Serialize for ActionMetadata
impl StructuralPartialEq for ActionMetadata
Auto Trait Implementations§
impl Freeze for ActionMetadata
impl RefUnwindSafe for ActionMetadata
impl Send for ActionMetadata
impl Sync for ActionMetadata
impl Unpin for ActionMetadata
impl UnwindSafe for ActionMetadata
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more