pub struct ActionMetadata {
pub key: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub allowed_parameters: Option<Vec<ActionParameter>>,
pub default_cron_value: Option<String>,
}Fields§
§key: Option<String>§title: Option<String>§description: Option<String>§allowed_parameters: Option<Vec<ActionParameter>>§default_cron_value: Option<String>Implementations§
Source§impl ActionMetadata
impl ActionMetadata
pub fn new() -> ActionMetadata
Trait Implementations§
Source§impl Clone for ActionMetadata
impl Clone for ActionMetadata
Source§fn clone(&self) -> ActionMetadata
fn clone(&self) -> ActionMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionMetadata
impl Debug for ActionMetadata
Source§impl Default for ActionMetadata
impl Default for ActionMetadata
Source§fn default() -> ActionMetadata
fn default() -> ActionMetadata
Returns the “default value” for a type. Read more
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 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