pub struct ActionMetaData {
pub color: String,
pub description: Option<String>,
pub icon: String,
pub name: String,
pub extra: Map<String, Value>,
}Fields§
§color: StringA color in ChurchTools
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
description: Option<String>§icon: String§name: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ActionMetaData
impl Clone for ActionMetaData
Source§impl Debug for ActionMetaData
impl Debug for ActionMetaData
Source§impl Default for ActionMetaData
impl Default for ActionMetaData
Source§impl<'de> Deserialize<'de> for ActionMetaData
impl<'de> Deserialize<'de> for ActionMetaData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActionMetaData
impl PartialEq for ActionMetaData
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 UnsafeUnpin for ActionMetaData
impl UnwindSafe for ActionMetaData
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