pub struct ApiCallArgs {
pub method: String,
pub params: HashMap<String, String>,
pub use_json: bool,
pub use_get: bool,
pub token_type: Option<TokenType>,
pub raw: bool,
}Expand description
Parsed API call arguments
Fields§
§method: StringAPI method name (e.g., “chat.postMessage”)
params: HashMap<String, String>Request parameters
use_json: boolUse JSON body instead of form encoding
use_get: boolUse GET method instead of POST
token_type: Option<TokenType>Token type preference (CLI flag override)
raw: boolOutput raw Slack API response without envelope
Implementations§
Trait Implementations§
Source§impl Clone for ApiCallArgs
impl Clone for ApiCallArgs
Source§fn clone(&self) -> ApiCallArgs
fn clone(&self) -> ApiCallArgs
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 ApiCallArgs
impl Debug for ApiCallArgs
Source§impl PartialEq for ApiCallArgs
impl PartialEq for ApiCallArgs
impl StructuralPartialEq for ApiCallArgs
Auto Trait Implementations§
impl Freeze for ApiCallArgs
impl RefUnwindSafe for ApiCallArgs
impl Send for ApiCallArgs
impl Sync for ApiCallArgs
impl Unpin for ApiCallArgs
impl UnwindSafe for ApiCallArgs
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