pub struct GetEventsData {
pub event_types: Option<Option<Vec<EventTypeRequest>>>,
pub page: Option<Option<i64>>,
pub page_size: Option<Option<i64>>,
}
Fields§
§event_types: Option<Option<Vec<EventTypeRequest>>>
The types of events to get. Any combination of file_uploaded, chunk_uploaded, chunk_action_failed, chunk_updated, or qdrant_index_failed. Leave undefined to get all events.
page: Option<Option<i64>>
The page number to get. Default is 1.
page_size: Option<Option<i64>>
The number of items per page. Default is 10.
Implementations§
Source§impl GetEventsData
impl GetEventsData
pub fn new() -> GetEventsData
Trait Implementations§
Source§impl Clone for GetEventsData
impl Clone for GetEventsData
Source§fn clone(&self) -> GetEventsData
fn clone(&self) -> GetEventsData
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 GetEventsData
impl Debug for GetEventsData
Source§impl Default for GetEventsData
impl Default for GetEventsData
Source§fn default() -> GetEventsData
fn default() -> GetEventsData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEventsData
impl<'de> Deserialize<'de> for GetEventsData
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 GetEventsData
impl PartialEq for GetEventsData
Source§impl Serialize for GetEventsData
impl Serialize for GetEventsData
impl StructuralPartialEq for GetEventsData
Auto Trait Implementations§
impl Freeze for GetEventsData
impl RefUnwindSafe for GetEventsData
impl Send for GetEventsData
impl Sync for GetEventsData
impl Unpin for GetEventsData
impl UnwindSafe for GetEventsData
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