#[non_exhaustive]pub struct UsageLambdaHour {
pub func_count: Option<Option<i64>>,
pub hour: Option<DateTime<Utc>>,
pub invocations_sum: Option<Option<i64>>,
pub org_name: Option<String>,
pub public_id: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Number of Lambda functions and sum of the invocations of all Lambda functions for each hour for a given organization.
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.func_count: Option<Option<i64>>
Contains the number of different functions for each region and AWS account.
hour: Option<DateTime<Utc>>
The hour for the usage.
invocations_sum: Option<Option<i64>>
Contains the sum of invocations of all functions.
org_name: Option<String>
The organization name.
public_id: Option<String>
The organization public ID.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl UsageLambdaHour
impl UsageLambdaHour
pub fn new() -> UsageLambdaHour
pub fn func_count(self, value: Option<i64>) -> Self
pub fn hour(self, value: DateTime<Utc>) -> Self
pub fn invocations_sum(self, value: Option<i64>) -> Self
pub fn org_name(self, value: String) -> Self
pub fn public_id(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for UsageLambdaHour
impl Clone for UsageLambdaHour
Source§fn clone(&self) -> UsageLambdaHour
fn clone(&self) -> UsageLambdaHour
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 UsageLambdaHour
impl Debug for UsageLambdaHour
Source§impl Default for UsageLambdaHour
impl Default for UsageLambdaHour
Source§impl<'de> Deserialize<'de> for UsageLambdaHour
impl<'de> Deserialize<'de> for UsageLambdaHour
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
Source§impl PartialEq for UsageLambdaHour
impl PartialEq for UsageLambdaHour
Source§impl Serialize for UsageLambdaHour
impl Serialize for UsageLambdaHour
impl StructuralPartialEq for UsageLambdaHour
Auto Trait Implementations§
impl Freeze for UsageLambdaHour
impl RefUnwindSafe for UsageLambdaHour
impl Send for UsageLambdaHour
impl Sync for UsageLambdaHour
impl Unpin for UsageLambdaHour
impl UnwindSafe for UsageLambdaHour
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