pub struct HistoryRequest {
pub channel: String,
pub cursor: Option<String>,
pub inclusive: Option<bool>,
pub latest: Option<String>,
pub limit: Option<i32>,
pub oldest: Option<String>,
}Fields§
§channel: String§cursor: Option<String>§inclusive: Option<bool>§latest: Option<String>§limit: Option<i32>§oldest: Option<String>Trait Implementations§
Source§impl Debug for HistoryRequest
impl Debug for HistoryRequest
Source§impl Default for HistoryRequest
impl Default for HistoryRequest
Source§fn default() -> HistoryRequest
fn default() -> HistoryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HistoryRequest
impl<'de> Deserialize<'de> for HistoryRequest
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 HistoryRequest
impl PartialEq for HistoryRequest
Source§impl Serialize for HistoryRequest
impl Serialize for HistoryRequest
impl StructuralPartialEq for HistoryRequest
Auto Trait Implementations§
impl Freeze for HistoryRequest
impl RefUnwindSafe for HistoryRequest
impl Send for HistoryRequest
impl Sync for HistoryRequest
impl Unpin for HistoryRequest
impl UnwindSafe for HistoryRequest
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