Struct BasicSuccessSchema
pub struct BasicSuccessSchema {Show 20 fields
pub my_flag: bool,
pub my_uint8: u8,
pub my_uint16: u16,
pub my_uint32: u32,
pub my_uint64: u64,
pub my_int8: i8,
pub my_int16: i16,
pub my_int32: i32,
pub my_int64: i64,
pub my_string: String,
pub my_vector_of_flag: Vec<bool>,
pub my_vector_of_uint8: Vec<u8>,
pub my_vector_of_uint16: Vec<u16>,
pub my_vector_of_uint32: Vec<u32>,
pub my_vector_of_uint64: Vec<u64>,
pub my_vector_of_int8: Vec<i8>,
pub my_vector_of_int16: Vec<i16>,
pub my_vector_of_int32: Vec<i32>,
pub my_vector_of_int64: Vec<i64>,
pub my_vector_of_string: Vec<String>,
}
Fields§
§my_flag: bool
§my_uint8: u8
§my_uint16: u16
§my_uint32: u32
§my_uint64: u64
§my_int8: i8
§my_int16: i16
§my_int32: i32
§my_int64: i64
§my_string: String
§my_vector_of_flag: Vec<bool>
§my_vector_of_uint8: Vec<u8>
§my_vector_of_uint16: Vec<u16>
§my_vector_of_uint32: Vec<u32>
§my_vector_of_uint64: Vec<u64>
§my_vector_of_int8: Vec<i8>
§my_vector_of_int16: Vec<i16>
§my_vector_of_int32: Vec<i32>
§my_vector_of_int64: Vec<i64>
§my_vector_of_string: Vec<String>
Trait Implementations§
§impl Clone for BasicSuccessSchema
impl Clone for BasicSuccessSchema
§fn clone(&self) -> BasicSuccessSchema
fn clone(&self) -> BasicSuccessSchema
Returns a copy 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 more§impl Debug for BasicSuccessSchema
impl Debug for BasicSuccessSchema
§impl<D> Decode<BasicSuccessSchema, D> for BasicSuccessSchemawhere
D: ResourceDialect,
impl<D> Decode<BasicSuccessSchema, D> for BasicSuccessSchemawhere
D: ResourceDialect,
§fn new_empty() -> BasicSuccessSchema
fn new_empty() -> BasicSuccessSchema
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<BasicSuccessSchema, D> for &BasicSuccessSchemawhere
D: ResourceDialect,
impl<D> Encode<BasicSuccessSchema, D> for &BasicSuccessSchemawhere
D: ResourceDialect,
§impl Hash for BasicSuccessSchema
impl Hash for BasicSuccessSchema
§impl Ord for BasicSuccessSchema
impl Ord for BasicSuccessSchema
§fn cmp(&self, other: &BasicSuccessSchema) -> Ordering
fn cmp(&self, other: &BasicSuccessSchema) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for BasicSuccessSchema
impl PartialEq for BasicSuccessSchema
§impl PartialOrd for BasicSuccessSchema
impl PartialOrd for BasicSuccessSchema
§impl TypeMarker for BasicSuccessSchema
impl TypeMarker for BasicSuccessSchema
§type Owned = BasicSuccessSchema
type Owned = BasicSuccessSchema
The owned Rust type which this FIDL type decodes into.
§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.
§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.§impl ValueTypeMarker for BasicSuccessSchema
impl ValueTypeMarker for BasicSuccessSchema
§type Borrowed<'a> = &'a BasicSuccessSchema
type Borrowed<'a> = &'a BasicSuccessSchema
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<BasicSuccessSchema as TypeMarker>::Owned,
) -> <BasicSuccessSchema as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<BasicSuccessSchema as TypeMarker>::Owned, ) -> <BasicSuccessSchema as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Eq for BasicSuccessSchema
impl Persistable for BasicSuccessSchema
impl StructuralPartialEq for BasicSuccessSchema
Auto Trait Implementations§
impl Freeze for BasicSuccessSchema
impl RefUnwindSafe for BasicSuccessSchema
impl Send for BasicSuccessSchema
impl Sync for BasicSuccessSchema
impl Unpin for BasicSuccessSchema
impl UnwindSafe for BasicSuccessSchema
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