pub struct GetProjectEventsBody {
pub event_name: Option<String>,
pub filters: Option<Vec<AttributeFilter>>,
pub from: String,
pub page_size: Option<i64>,
pub page_token: Option<String>,
pub to: String,
}Expand description
GetProjectEventsBody : Body of the getProjectEvents endpoint
Fields§
§event_name: Option<String>The event name to query for
filters: Option<Vec<AttributeFilter>>Event attribute filters
from: StringThe start RFC3339 date of the time window
page_size: Option<i64>Maximum number of events to return
page_token: Option<String>Pagination token to fetch next page, empty if first page
to: StringThe end RFC3339 date of the time window
Implementations§
source§impl GetProjectEventsBody
impl GetProjectEventsBody
sourcepub fn new(from: String, to: String) -> GetProjectEventsBody
pub fn new(from: String, to: String) -> GetProjectEventsBody
Body of the getProjectEvents endpoint
Trait Implementations§
source§impl Clone for GetProjectEventsBody
impl Clone for GetProjectEventsBody
source§fn clone(&self) -> GetProjectEventsBody
fn clone(&self) -> GetProjectEventsBody
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 GetProjectEventsBody
impl Debug for GetProjectEventsBody
source§impl<'de> Deserialize<'de> for GetProjectEventsBody
impl<'de> Deserialize<'de> for GetProjectEventsBody
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 GetProjectEventsBody
impl PartialEq for GetProjectEventsBody
source§fn eq(&self, other: &GetProjectEventsBody) -> bool
fn eq(&self, other: &GetProjectEventsBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GetProjectEventsBody
impl Serialize for GetProjectEventsBody
impl StructuralPartialEq for GetProjectEventsBody
Auto Trait Implementations§
impl RefUnwindSafe for GetProjectEventsBody
impl Send for GetProjectEventsBody
impl Sync for GetProjectEventsBody
impl Unpin for GetProjectEventsBody
impl UnwindSafe for GetProjectEventsBody
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