pub struct ListUsageTriggerParams {
pub account_sid: String,
pub recurring: Option<String>,
pub trigger_by: Option<String>,
pub usage_category: Option<String>,
pub page_size: Option<i32>,
pub page: Option<i32>,
pub page_token: Option<String>,
}
Expand description
struct for passing parameters to the method list_usage_trigger
Fields§
§account_sid: String
The SID of the Account that created the UsageTrigger resources to read.
recurring: Option<String>
The frequency of recurring UsageTriggers to read. Can be: daily
, monthly
, or yearly
to read recurring UsageTriggers. An empty value or a value of alltime
reads non-recurring UsageTriggers.
trigger_by: Option<String>
The trigger field of the UsageTriggers to read. Can be: count
, usage
, or price
as described in the UsageRecords documentation.
usage_category: Option<String>
The usage category of the UsageTriggers to read. Must be a supported usage categories.
page_size: Option<i32>
How many resources to return in each list page. The default is 50, and the maximum is 1000.
page: Option<i32>
The page index. This value is simply for client state.
page_token: Option<String>
The page token. This is provided by the API.
Trait Implementations§
Source§impl Clone for ListUsageTriggerParams
impl Clone for ListUsageTriggerParams
Source§fn clone(&self) -> ListUsageTriggerParams
fn clone(&self) -> ListUsageTriggerParams
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 moreAuto Trait Implementations§
impl Freeze for ListUsageTriggerParams
impl RefUnwindSafe for ListUsageTriggerParams
impl Send for ListUsageTriggerParams
impl Sync for ListUsageTriggerParams
impl Unpin for ListUsageTriggerParams
impl UnwindSafe for ListUsageTriggerParams
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