pub struct ListStreamsParams {
pub stream_type: Option<String>,
pub offset: Option<i64>,
pub limit: Option<i64>,
pub order_by: Option<String>,
pub order_direction: Option<String>,
}Expand description
Parameters for list_streams.
Fields§
§stream_type: Option<String>Filter results by stream type.
offset: Option<i64>Starting index into the result set; defaults to 0.
limit: Option<i64>Maximum number of streams returned.
order_by: Option<String>Field to sort results by.
order_direction: Option<String>Sort direction (asc or desc).
Trait Implementations§
Source§impl Clone for ListStreamsParams
impl Clone for ListStreamsParams
Source§fn clone(&self) -> ListStreamsParams
fn clone(&self) -> ListStreamsParams
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 ListStreamsParams
impl Debug for ListStreamsParams
Source§impl Default for ListStreamsParams
impl Default for ListStreamsParams
Source§fn default() -> ListStreamsParams
fn default() -> ListStreamsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListStreamsParams
impl<'de> Deserialize<'de> for ListStreamsParams
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
Auto Trait Implementations§
impl Freeze for ListStreamsParams
impl RefUnwindSafe for ListStreamsParams
impl Send for ListStreamsParams
impl Sync for ListStreamsParams
impl Unpin for ListStreamsParams
impl UnsafeUnpin for ListStreamsParams
impl UnwindSafe for ListStreamsParams
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