pub struct FunctionOptions {
pub headers: Option<HashMap<String, String>>,
pub timeout_seconds: Option<u64>,
pub response_type: ResponseType,
pub content_type: Option<String>,
}
Expand description
関数呼び出しオプション
Fields§
§headers: Option<HashMap<String, String>>
カスタムHTTPヘッダー
timeout_seconds: Option<u64>
関数タイムアウト(秒)
response_type: ResponseType
レスポンスのコンテンツタイプを指定(デフォルトはJSONとして処理)
content_type: Option<String>
リクエストのコンテンツタイプ
Trait Implementations§
Source§impl Clone for FunctionOptions
impl Clone for FunctionOptions
Source§fn clone(&self) -> FunctionOptions
fn clone(&self) -> FunctionOptions
Returns a copy 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 FunctionOptions
impl Debug for FunctionOptions
Auto Trait Implementations§
impl Freeze for FunctionOptions
impl RefUnwindSafe for FunctionOptions
impl Send for FunctionOptions
impl Sync for FunctionOptions
impl Unpin for FunctionOptions
impl UnwindSafe for FunctionOptions
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