pub struct SlashCommandPayload {
pub name: String,
pub args: Option<String>,
}Expand description
Slash command invocation (e.g., /commit, /review-pr, /skaffold-repo)
Fields§
§name: StringCommand name with leading slash (e.g., “/commit”, “/skaffold-repo”)
args: Option<String>Optional command arguments
Trait Implementations§
Source§impl Clone for SlashCommandPayload
impl Clone for SlashCommandPayload
Source§fn clone(&self) -> SlashCommandPayload
fn clone(&self) -> SlashCommandPayload
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 SlashCommandPayload
impl Debug for SlashCommandPayload
Source§impl<'de> Deserialize<'de> for SlashCommandPayload
impl<'de> Deserialize<'de> for SlashCommandPayload
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 SlashCommandPayload
impl RefUnwindSafe for SlashCommandPayload
impl Send for SlashCommandPayload
impl Sync for SlashCommandPayload
impl Unpin for SlashCommandPayload
impl UnwindSafe for SlashCommandPayload
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