pub struct WatchQueryParams {
pub container_name: String,
pub session_id: String,
pub timeout: u64,
pub stream_key: String,
pub save_logs: bool,
pub since_in_minutes: u64,
}
Expand description
The query parameters required to execute log streaming.
Fields§
§container_name: String
The container name or id
session_id: String
The session configured by the client
timeout: u64
How many seconds the websocket server will wait for the client to respond.
stream_key: String
The key to use in order to access the resources.
save_logs: bool
Set to true to save logs under /logs directory. Default: false
since_in_minutes: u64
This will subract the number of minutes to the current system time. Then it will be used in the since parameter for docker logs.
Trait Implementations§
Source§impl Debug for WatchQueryParams
impl Debug for WatchQueryParams
Source§impl<'de> Deserialize<'de> for WatchQueryParams
impl<'de> Deserialize<'de> for WatchQueryParams
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 WatchQueryParams
impl RefUnwindSafe for WatchQueryParams
impl Send for WatchQueryParams
impl Sync for WatchQueryParams
impl Unpin for WatchQueryParams
impl UnwindSafe for WatchQueryParams
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