pub struct ConsoleQuery {
pub cols: u16,
pub rows: u16,
}Expand description
Query parameters for the WebSocket console endpoints
(/nodes/{xname}/console, /sessions/{name}/console).
Fields§
§cols: u16Initial terminal width in columns (default 80).
rows: u16Initial terminal height in rows (default 24).
Trait Implementations§
Source§impl Debug for ConsoleQuery
impl Debug for ConsoleQuery
Source§impl<'de> Deserialize<'de> for ConsoleQuery
impl<'de> Deserialize<'de> for ConsoleQuery
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 IntoParams for ConsoleQuery
impl IntoParams for ConsoleQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for ConsoleQuery
impl RefUnwindSafe for ConsoleQuery
impl Send for ConsoleQuery
impl Sync for ConsoleQuery
impl Unpin for ConsoleQuery
impl UnsafeUnpin for ConsoleQuery
impl UnwindSafe for ConsoleQuery
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