pub struct ActionModel {
pub name: String,
pub description: String,
pub parameters: ActionParametersModel,
pub response: ActionParametersModel,
pub app_name: String,
pub app_id: String,
pub version: String,
pub available_versions: Vec<String>,
pub tags: Vec<String>,
pub logo: Option<String>,
pub display_name: Option<String>,
pub enabled: Option<bool>,
}Expand description
Composio action model.
Fields§
§name: StringAction name.
description: StringAction description.
parameters: ActionParametersModelAction parameters schema.
response: ActionParametersModelAction response schema.
app_name: StringParent app name.
app_id: StringParent app ID.
version: StringAction version.
available_versions: Vec<String>Available versions.
Action tags.
logo: Option<String>App logo URL.
display_name: Option<String>Display name.
enabled: Option<bool>Whether the action is enabled.
Trait Implementations§
Source§impl Clone for ActionModel
impl Clone for ActionModel
Source§fn clone(&self) -> ActionModel
fn clone(&self) -> ActionModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionModel
impl Debug for ActionModel
Source§impl<'de> Deserialize<'de> for ActionModel
impl<'de> Deserialize<'de> for ActionModel
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
Auto Trait Implementations§
impl Freeze for ActionModel
impl RefUnwindSafe for ActionModel
impl Send for ActionModel
impl Sync for ActionModel
impl Unpin for ActionModel
impl UnsafeUnpin for ActionModel
impl UnwindSafe for ActionModel
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