pub struct GetNewsRequest {
pub end: u64,
pub start: u64,
}
Expand description
Structure representing a specific Time span
Fields§
§end: u64
End time. 0 indicates the current time for simplicity.
start: u64
Start time.
Implementations§
Trait Implementations§
Source§impl Clone for GetNewsRequest
impl Clone for GetNewsRequest
Source§fn clone(&self) -> GetNewsRequest
fn clone(&self) -> GetNewsRequest
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 GetNewsRequest
impl Debug for GetNewsRequest
Source§impl Default for GetNewsRequest
impl Default for GetNewsRequest
Source§fn default() -> GetNewsRequest
fn default() -> GetNewsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetNewsRequest
impl<'de> Deserialize<'de> for GetNewsRequest
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 GetNewsRequest
impl PartialEq for GetNewsRequest
Source§impl Serialize for GetNewsRequest
impl Serialize for GetNewsRequest
impl StructuralPartialEq for GetNewsRequest
Auto Trait Implementations§
impl Freeze for GetNewsRequest
impl RefUnwindSafe for GetNewsRequest
impl Send for GetNewsRequest
impl Sync for GetNewsRequest
impl Unpin for GetNewsRequest
impl UnwindSafe for GetNewsRequest
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