pub struct SerialPortOutput {
pub contents: Option<String>,
pub kind: Option<String>,
pub next: Option<i64>,
pub self_link: Option<String>,
pub start: Option<i64>,
}
Expand description
An instance serial console output.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get serial port output instances (response)
Fields§
§contents: Option<String>
[Output Only] The contents of the console output.
kind: Option<String>
[Output Only] Type of the resource. Always compute#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] 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.
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 moreSource§impl Debug for SerialPortOutput
impl Debug for SerialPortOutput
Source§impl Default for SerialPortOutput
impl Default for SerialPortOutput
Source§fn default() -> SerialPortOutput
fn default() -> SerialPortOutput
Source§impl<'de> Deserialize<'de> for SerialPortOutput
impl<'de> Deserialize<'de> for SerialPortOutput
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>,
Source§impl Serialize for SerialPortOutput
impl Serialize for SerialPortOutput
impl ResponseResult for SerialPortOutput
Auto Trait Implementations§
impl Freeze for SerialPortOutput
impl RefUnwindSafe for SerialPortOutput
impl Send for SerialPortOutput
impl Sync for SerialPortOutput
impl Unpin for SerialPortOutput
impl UnwindSafe for SerialPortOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more