#[non_exhaustive]pub struct SerialPortOutput {
pub contents: Option<String>,
pub kind: Option<String>,
pub next: Option<i64>,
pub self_link: Option<String>,
pub start: Option<i64>,
/* private fields */
}instances only.Expand description
An instance serial console output.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.contents: Option<String>[Output Only] The contents of the console output.
kind: Option<String>Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
next: Option<i64>[Output Only] The position of the next byte of content, regardless of
whether the content exists, following the output returned in the contents
property. Use this value in the next request as the start
parameter.
self_link: Option<String>Output only. [Output Only] Server-defined URL for this resource.
start: Option<i64>The starting byte position of the output that was returned.
This should match the start parameter sent with the request.
If the serial console output exceeds the size of the buffer (1 MB), older
output is overwritten by newer content. The output start value will
indicate the byte position of the output that was returned, which might be
different than the start value that was specified in the request.
Implementations§
Source§impl SerialPortOutput
impl SerialPortOutput
pub fn new() -> Self
Sourcepub fn set_contents<T>(self, v: T) -> Self
pub fn set_contents<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_contents<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_contents<T>(self, v: Option<T>) -> Self
Sourcepub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_kind<T>(self, v: Option<T>) -> Self
Sourcepub fn set_or_clear_next<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_next<T>(self, v: Option<T>) -> Self
Sourcepub fn set_self_link<T>(self, v: T) -> Self
pub fn set_self_link<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_self_link<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_self_link<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for SerialPortOutput
impl Clone for SerialPortOutput
Source§fn clone(&self) -> SerialPortOutput
fn clone(&self) -> SerialPortOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more