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 Default for GetProjectEventsBody
impl Default for GetProjectEventsBody
Source§fn default() -> GetProjectEventsBody
fn default() -> GetProjectEventsBody
Returns the “default value” for a type. Read more
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§impl Serialize for GetProjectEventsBody
impl Serialize for GetProjectEventsBody
impl StructuralPartialEq for GetProjectEventsBody
Auto Trait Implementations§
impl Freeze for GetProjectEventsBody
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