pub struct PortRange {
pub min: u16,
pub max: u16,
}
Expand description
The table PortRange
in the namespace FBS.Transport
Generated from these locations:
- Table
PortRange
in the filefbs/transport.fbs:16
Fields§
§min: u16
The field min
in the table PortRange
max: u16
The field max
in the table PortRange
Implementations§
Source§impl PortRange
impl PortRange
Sourcepub fn builder() -> PortRangeBuilder<()>
pub fn builder() -> PortRangeBuilder<()>
Creates a PortRangeBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_min: impl WriteAsDefault<u16, u16>, field_max: impl WriteAsDefault<u16, u16>, ) -> Offset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortRange
impl<'de> Deserialize<'de> for PortRange
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 Ord for PortRange
impl Ord for PortRange
Source§impl PartialOrd for PortRange
impl PartialOrd for PortRange
Source§impl<'a> TryFrom<PortRangeRef<'a>> for PortRange
impl<'a> TryFrom<PortRangeRef<'a>> for PortRange
impl Eq for PortRange
impl StructuralPartialEq for PortRange
impl VectorWrite<Offset<PortRange>> for PortRange
impl WriteAs<Offset<PortRange>> for PortRange
impl WriteAsOffset<PortRange> for PortRange
impl<T0: WriteAsDefault<u16, u16>, T1: WriteAsDefault<u16, u16>> WriteAsOffset<PortRange> for PortRangeBuilder<(T0, T1)>
impl WriteAsOptional<Offset<PortRange>> for PortRange
Auto Trait Implementations§
impl Freeze for PortRange
impl RefUnwindSafe for PortRange
impl Send for PortRange
impl Sync for PortRange
impl Unpin for PortRange
impl UnwindSafe for PortRange
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