#[non_exhaustive]pub struct MakeGCPSTSDelegateOptionalParams {
pub body: Option<BTreeMap<String, Value>>,
}
Expand description
MakeGCPSTSDelegateOptionalParams is a struct for passing parameters to the method GCPIntegrationAPI::make_gcpsts_delegate
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.body: Option<BTreeMap<String, Value>>
Create a delegate service account within Datadog.
Implementations§
Source§impl MakeGCPSTSDelegateOptionalParams
impl MakeGCPSTSDelegateOptionalParams
Sourcepub fn body(self, value: BTreeMap<String, Value>) -> Self
pub fn body(self, value: BTreeMap<String, Value>) -> Self
Create a delegate service account within Datadog.
Examples found in repository?
examples/v2_gcp-integration_MakeGCPSTSDelegate_962598975.rs (line 13)
8async fn main() {
9 let body = BTreeMap::new();
10 let configuration = datadog::Configuration::new();
11 let api = GCPIntegrationAPI::with_config(configuration);
12 let resp = api
13 .make_gcpsts_delegate(MakeGCPSTSDelegateOptionalParams::default().body(body))
14 .await;
15 if let Ok(value) = resp {
16 println!("{:#?}", value);
17 } else {
18 println!("{:#?}", resp.unwrap_err());
19 }
20}
Trait Implementations§
Source§impl Clone for MakeGCPSTSDelegateOptionalParams
impl Clone for MakeGCPSTSDelegateOptionalParams
Source§fn clone(&self) -> MakeGCPSTSDelegateOptionalParams
fn clone(&self) -> MakeGCPSTSDelegateOptionalParams
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 Default for MakeGCPSTSDelegateOptionalParams
impl Default for MakeGCPSTSDelegateOptionalParams
Source§fn default() -> MakeGCPSTSDelegateOptionalParams
fn default() -> MakeGCPSTSDelegateOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MakeGCPSTSDelegateOptionalParams
impl RefUnwindSafe for MakeGCPSTSDelegateOptionalParams
impl Send for MakeGCPSTSDelegateOptionalParams
impl Sync for MakeGCPSTSDelegateOptionalParams
impl Unpin for MakeGCPSTSDelegateOptionalParams
impl UnwindSafe for MakeGCPSTSDelegateOptionalParams
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