Struct google_api_proto::google::cloud::compute::v1::GetSerialPortOutputInstanceRequest
source · pub struct GetSerialPortOutputInstanceRequest {
pub instance: String,
pub port: Option<i32>,
pub project: String,
pub start: Option<i64>,
pub zone: String,
}
Expand description
A request message for Instances.GetSerialPortOutput. See the method description for details.
Fields§
§instance: String
Name of the instance for this request.
port: Option<i32>
Specifies which COM or serial port to retrieve data from.
project: String
Project ID for this request.
start: Option<i64>
Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to 0
. If the output for that byte position is available, this field matches the start
parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the start
property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
zone: String
The name of the zone for this request.
Implementations§
Trait Implementations§
source§impl Clone for GetSerialPortOutputInstanceRequest
impl Clone for GetSerialPortOutputInstanceRequest
source§fn clone(&self) -> GetSerialPortOutputInstanceRequest
fn clone(&self) -> GetSerialPortOutputInstanceRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for GetSerialPortOutputInstanceRequest
impl Message for GetSerialPortOutputInstanceRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for GetSerialPortOutputInstanceRequest
impl PartialEq for GetSerialPortOutputInstanceRequest
source§fn eq(&self, other: &GetSerialPortOutputInstanceRequest) -> bool
fn eq(&self, other: &GetSerialPortOutputInstanceRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSerialPortOutputInstanceRequest
Auto Trait Implementations§
impl Freeze for GetSerialPortOutputInstanceRequest
impl RefUnwindSafe for GetSerialPortOutputInstanceRequest
impl Send for GetSerialPortOutputInstanceRequest
impl Sync for GetSerialPortOutputInstanceRequest
impl Unpin for GetSerialPortOutputInstanceRequest
impl UnwindSafe for GetSerialPortOutputInstanceRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request