pub struct EventReturn {
pub events: Vec<WorkerEvent>,
pub page_count: i32,
}
Fields§
§events: Vec<WorkerEvent>
§page_count: i32
Implementations§
Source§impl EventReturn
impl EventReturn
pub fn new(events: Vec<WorkerEvent>, page_count: i32) -> EventReturn
Trait Implementations§
Source§impl Clone for EventReturn
impl Clone for EventReturn
Source§fn clone(&self) -> EventReturn
fn clone(&self) -> EventReturn
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 EventReturn
impl Debug for EventReturn
Source§impl Default for EventReturn
impl Default for EventReturn
Source§fn default() -> EventReturn
fn default() -> EventReturn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventReturn
impl<'de> Deserialize<'de> for EventReturn
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 EventReturn
impl PartialEq for EventReturn
Source§impl Serialize for EventReturn
impl Serialize for EventReturn
impl StructuralPartialEq for EventReturn
Auto Trait Implementations§
impl Freeze for EventReturn
impl RefUnwindSafe for EventReturn
impl Send for EventReturn
impl Sync for EventReturn
impl Unpin for EventReturn
impl UnwindSafe for EventReturn
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