pub struct TripPointSetTripPointsRequest {
pub descriptors: Vec<TripPointDescriptor>,
}Fields§
§descriptors: Vec<TripPointDescriptor>The type of this configuration must correspond to the type of the
trip point returned by GetTripPointDescriptors. The type of the
configuration field must either be ClearedTripPoint if the trip
point is being cleared or it must correspond to the type defined by
GetTripPointDescriptors. If these arguments do not match
ZX_ERR_INVALID_ARGS is returned.
If the index field is larger than the number of descriptors returned
by GetTripPointDescriptors then ZX_ERR_OUT_OF_RANGE is returned.
Configuring a trip point that is already configured will cause the
previous configuration to be overwritten and any pending trip
interrupts to be cleared.
Trait Implementations§
Source§impl Clone for TripPointSetTripPointsRequest
impl Clone for TripPointSetTripPointsRequest
Source§fn clone(&self) -> TripPointSetTripPointsRequest
fn clone(&self) -> TripPointSetTripPointsRequest
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<D> Decode<TripPointSetTripPointsRequest, D> for TripPointSetTripPointsRequestwhere
D: ResourceDialect,
impl<D> Decode<TripPointSetTripPointsRequest, D> for TripPointSetTripPointsRequestwhere
D: ResourceDialect,
Source§fn new_empty() -> TripPointSetTripPointsRequest
fn new_empty() -> TripPointSetTripPointsRequest
Creates a valid instance of
Self. The specific value does not matter,
since it will be overwritten by decode.Source§impl<D> Encode<TripPointSetTripPointsRequest, D> for &TripPointSetTripPointsRequestwhere
D: ResourceDialect,
impl<D> Encode<TripPointSetTripPointsRequest, D> for &TripPointSetTripPointsRequestwhere
D: ResourceDialect,
Source§impl PartialEq for TripPointSetTripPointsRequest
impl PartialEq for TripPointSetTripPointsRequest
Source§fn eq(&self, other: &TripPointSetTripPointsRequest) -> bool
fn eq(&self, other: &TripPointSetTripPointsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TypeMarker for TripPointSetTripPointsRequest
impl TypeMarker for TripPointSetTripPointsRequest
Source§type Owned = TripPointSetTripPointsRequest
type Owned = TripPointSetTripPointsRequest
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for TripPointSetTripPointsRequest
impl ValueTypeMarker for TripPointSetTripPointsRequest
Source§type Borrowed<'a> = &'a TripPointSetTripPointsRequest
type Borrowed<'a> = &'a TripPointSetTripPointsRequest
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<TripPointSetTripPointsRequest as TypeMarker>::Owned,
) -> <TripPointSetTripPointsRequest as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<TripPointSetTripPointsRequest as TypeMarker>::Owned, ) -> <TripPointSetTripPointsRequest as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned to Self::Borrowed.impl Persistable for TripPointSetTripPointsRequest
impl StructuralPartialEq for TripPointSetTripPointsRequest
Auto Trait Implementations§
impl Freeze for TripPointSetTripPointsRequest
impl RefUnwindSafe for TripPointSetTripPointsRequest
impl Send for TripPointSetTripPointsRequest
impl Sync for TripPointSetTripPointsRequest
impl Unpin for TripPointSetTripPointsRequest
impl UnwindSafe for TripPointSetTripPointsRequest
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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