pub struct GetSuppressionBlocksRequest<'a> {
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub limit: Option<i64>,
pub offset: Option<i64>,
pub on_behalf_of: Option<String>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§start_time: Option<i64>§end_time: Option<i64>§limit: Option<i64>§offset: Option<i64>§on_behalf_of: Option<String>Implementations§
Source§impl<'a> GetSuppressionBlocksRequest<'a>
impl<'a> GetSuppressionBlocksRequest<'a>
pub async fn send(self) -> Result<BlocksResponse>
pub fn start_time(self, start_time: i64) -> Self
pub fn end_time(self, end_time: i64) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn offset(self, offset: i64) -> Self
pub fn on_behalf_of(self, on_behalf_of: &str) -> Self
Auto Trait Implementations§
impl<'a> Freeze for GetSuppressionBlocksRequest<'a>
impl<'a> !RefUnwindSafe for GetSuppressionBlocksRequest<'a>
impl<'a> Send for GetSuppressionBlocksRequest<'a>
impl<'a> Sync for GetSuppressionBlocksRequest<'a>
impl<'a> Unpin for GetSuppressionBlocksRequest<'a>
impl<'a> !UnwindSafe for GetSuppressionBlocksRequest<'a>
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