Struct google_api_proto::maps::fleetengine::v1::GetVehicleRequest
source · pub struct GetVehicleRequest {
pub header: Option<RequestHeader>,
pub name: String,
pub current_route_segment_version: Option<Timestamp>,
pub waypoints_version: Option<Timestamp>,
}
Expand description
GetVehicle
request message.
Fields§
§header: Option<RequestHeader>
The standard Fleet Engine request header.
name: String
Required. Must be in the format
providers/{provider}/vehicles/{vehicle}
.
The provider must be the Project ID (for example, sample-cloud-project
)
of the Google Cloud Project of which the service account making
this call is a member.
current_route_segment_version: Option<Timestamp>
Indicates the minimum timestamp (exclusive) for which
Vehicle.current_route_segment
is retrieved.
If the route is unchanged since this timestamp, the current_route_segment
field is not set in the response. If a minimum is unspecified, the
current_route_segment
is always retrieved.
waypoints_version: Option<Timestamp>
Indicates the minimum timestamp (exclusive) for which Vehicle.waypoints
data is retrieved. If the waypoints are unchanged since this timestamp, the
vehicle.waypoints
data is not set in the response. If this field is
unspecified, vehicle.waypoints
is always retrieved.
Trait Implementations§
source§impl Clone for GetVehicleRequest
impl Clone for GetVehicleRequest
source§fn clone(&self) -> GetVehicleRequest
fn clone(&self) -> GetVehicleRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetVehicleRequest
impl Debug for GetVehicleRequest
source§impl Default for GetVehicleRequest
impl Default for GetVehicleRequest
source§impl Message for GetVehicleRequest
impl Message for GetVehicleRequest
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 GetVehicleRequest
impl PartialEq for GetVehicleRequest
source§fn eq(&self, other: &GetVehicleRequest) -> bool
fn eq(&self, other: &GetVehicleRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetVehicleRequest
Auto Trait Implementations§
impl Freeze for GetVehicleRequest
impl RefUnwindSafe for GetVehicleRequest
impl Send for GetVehicleRequest
impl Sync for GetVehicleRequest
impl Unpin for GetVehicleRequest
impl UnwindSafe for GetVehicleRequest
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