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§
Source§impl Clone for BasicSuccessSchema
impl Clone for BasicSuccessSchema
Source§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 moreSource§impl Debug for BasicSuccessSchema
impl Debug for BasicSuccessSchema
Source§impl<D: ResourceDialect> Decode<BasicSuccessSchema, D> for BasicSuccessSchema
impl<D: ResourceDialect> Decode<BasicSuccessSchema, D> for BasicSuccessSchema
Source§impl<D: ResourceDialect> Encode<BasicSuccessSchema, D> for &BasicSuccessSchema
impl<D: ResourceDialect> Encode<BasicSuccessSchema, D> for &BasicSuccessSchema
Source§impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<u8, D>, T2: Encode<u16, D>, T3: Encode<u32, D>, T4: Encode<u64, D>, T5: Encode<i8, D>, T6: Encode<i16, D>, T7: Encode<i32, D>, T8: Encode<i64, D>, T9: Encode<BoundedString<100>, D>, T10: Encode<Vector<bool, 100>, D>, T11: Encode<Vector<u8, 100>, D>, T12: Encode<Vector<u16, 100>, D>, T13: Encode<Vector<u32, 100>, D>, T14: Encode<Vector<u64, 100>, D>, T15: Encode<Vector<i8, 100>, D>, T16: Encode<Vector<i16, 100>, D>, T17: Encode<Vector<i32, 100>, D>, T18: Encode<Vector<i64, 100>, D>, T19: Encode<Vector<BoundedString<100>, 100>, D>> Encode<BasicSuccessSchema, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<u8, D>, T2: Encode<u16, D>, T3: Encode<u32, D>, T4: Encode<u64, D>, T5: Encode<i8, D>, T6: Encode<i16, D>, T7: Encode<i32, D>, T8: Encode<i64, D>, T9: Encode<BoundedString<100>, D>, T10: Encode<Vector<bool, 100>, D>, T11: Encode<Vector<u8, 100>, D>, T12: Encode<Vector<u16, 100>, D>, T13: Encode<Vector<u32, 100>, D>, T14: Encode<Vector<u64, 100>, D>, T15: Encode<Vector<i8, 100>, D>, T16: Encode<Vector<i16, 100>, D>, T17: Encode<Vector<i32, 100>, D>, T18: Encode<Vector<i64, 100>, D>, T19: Encode<Vector<BoundedString<100>, 100>, D>> Encode<BasicSuccessSchema, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
Source§impl Hash for BasicSuccessSchema
impl Hash for BasicSuccessSchema
Source§impl Ord for BasicSuccessSchema
impl Ord for BasicSuccessSchema
Source§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
Source§impl PartialEq for BasicSuccessSchema
impl PartialEq for BasicSuccessSchema
Source§impl PartialOrd for BasicSuccessSchema
impl PartialOrd for BasicSuccessSchema
Source§impl TypeMarker for BasicSuccessSchema
impl TypeMarker for BasicSuccessSchema
Source§type Owned = BasicSuccessSchema
type Owned = BasicSuccessSchema
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 BasicSuccessSchema
impl ValueTypeMarker for BasicSuccessSchema
Source§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 moreimpl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)