pub struct SetPriorityResponse {
pub priority: u8,
}
Expand description
The table SetPriorityResponse
in the namespace FBS.Consumer
Generated from these locations:
- Table
SetPriorityResponse
in the filefbs/consumer.fbs:31
Fields§
§priority: u8
The field priority
in the table SetPriorityResponse
Implementations§
Source§impl SetPriorityResponse
impl SetPriorityResponse
Sourcepub fn builder() -> SetPriorityResponseBuilder<()>
pub fn builder() -> SetPriorityResponseBuilder<()>
Creates a SetPriorityResponseBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_priority: impl WriteAsDefault<u8, u8>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for SetPriorityResponse
impl Clone for SetPriorityResponse
Source§fn clone(&self) -> SetPriorityResponse
fn clone(&self) -> SetPriorityResponse
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 SetPriorityResponse
impl Debug for SetPriorityResponse
Source§impl Default for SetPriorityResponse
impl Default for SetPriorityResponse
Source§impl<'de> Deserialize<'de> for SetPriorityResponse
impl<'de> Deserialize<'de> for SetPriorityResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SetPriorityResponse
impl Hash for SetPriorityResponse
Source§impl Ord for SetPriorityResponse
impl Ord for SetPriorityResponse
Source§fn cmp(&self, other: &SetPriorityResponse) -> Ordering
fn cmp(&self, other: &SetPriorityResponse) -> 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 SetPriorityResponse
impl PartialEq for SetPriorityResponse
Source§impl PartialOrd for SetPriorityResponse
impl PartialOrd for SetPriorityResponse
Source§impl Serialize for SetPriorityResponse
impl Serialize for SetPriorityResponse
Source§impl<'a> TryFrom<SetPriorityResponseRef<'a>> for SetPriorityResponse
impl<'a> TryFrom<SetPriorityResponseRef<'a>> for SetPriorityResponse
impl Eq for SetPriorityResponse
impl StructuralPartialEq for SetPriorityResponse
impl VectorWrite<Offset<SetPriorityResponse>> for SetPriorityResponse
impl WriteAs<Offset<SetPriorityResponse>> for SetPriorityResponse
impl WriteAsOffset<SetPriorityResponse> for SetPriorityResponse
impl<T0: WriteAsDefault<u8, u8>> WriteAsOffset<SetPriorityResponse> for SetPriorityResponseBuilder<(T0,)>
impl WriteAsOptional<Offset<SetPriorityResponse>> for SetPriorityResponse
Auto Trait Implementations§
impl Freeze for SetPriorityResponse
impl RefUnwindSafe for SetPriorityResponse
impl Send for SetPriorityResponse
impl Sync for SetPriorityResponse
impl Unpin for SetPriorityResponse
impl UnwindSafe for SetPriorityResponse
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
Mutably borrows from an owned value. Read more