pub struct InstanceSerialConsoleData {
pub data: Vec<u8>,
pub last_byte_offset: u64,
}
Expand description
Contents of an Instance’s serial console buffer.
Fields§
§data: Vec<u8>
The bytes starting from the requested offset up to either the end of the buffer or the request’s max_bytes
. Provided as a u8 array rather than a string, as it may not be UTF-8.
last_byte_offset: u64
The absolute offset since boot (suitable for use as byte_offset
in a subsequent request) of the last byte returned in data
.
Trait Implementations§
Source§impl Clone for InstanceSerialConsoleData
impl Clone for InstanceSerialConsoleData
Source§fn clone(&self) -> InstanceSerialConsoleData
fn clone(&self) -> InstanceSerialConsoleData
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 InstanceSerialConsoleData
impl Debug for InstanceSerialConsoleData
Source§impl Default for InstanceSerialConsoleData
impl Default for InstanceSerialConsoleData
Source§fn default() -> InstanceSerialConsoleData
fn default() -> InstanceSerialConsoleData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstanceSerialConsoleData
impl<'de> Deserialize<'de> for InstanceSerialConsoleData
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 JsonSchema for InstanceSerialConsoleData
impl JsonSchema for InstanceSerialConsoleData
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Tabled for InstanceSerialConsoleData
impl Tabled for InstanceSerialConsoleData
impl StructuralPartialEq for InstanceSerialConsoleData
Auto Trait Implementations§
impl Freeze for InstanceSerialConsoleData
impl RefUnwindSafe for InstanceSerialConsoleData
impl Send for InstanceSerialConsoleData
impl Sync for InstanceSerialConsoleData
impl Unpin for InstanceSerialConsoleData
impl UnwindSafe for InstanceSerialConsoleData
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