pub struct StreamParams {
pub database_id: String,
pub start_time: Option<DateTime<Utc>>,
pub scopes: Option<Vec<String>>,
}Expand description
Parameters for streaming logs
Fields§
§database_id: StringDatabase ID to stream from
start_time: Option<DateTime<Utc>>Start time for historical logs (defaults to now)
scopes: Option<Vec<String>>Scopes to filter by (optional - usually from JWT)
Trait Implementations§
Source§impl Clone for StreamParams
impl Clone for StreamParams
Source§fn clone(&self) -> StreamParams
fn clone(&self) -> StreamParams
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 moreAuto Trait Implementations§
impl Freeze for StreamParams
impl RefUnwindSafe for StreamParams
impl Send for StreamParams
impl Sync for StreamParams
impl Unpin for StreamParams
impl UnsafeUnpin for StreamParams
impl UnwindSafe for StreamParams
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