pub struct Tuple {
pub local_address: String,
pub local_port: u16,
pub remote_ip: Option<String>,
pub remote_port: u16,
pub protocol: Protocol,
}
Expand description
The table Tuple
in the namespace FBS.Transport
Generated from these locations:
- Table
Tuple
in the filefbs/transport.fbs:95
Fields§
§local_address: String
The field local_address
in the table Tuple
local_port: u16
The field local_port
in the table Tuple
remote_ip: Option<String>
The field remote_ip
in the table Tuple
remote_port: u16
The field remote_port
in the table Tuple
protocol: Protocol
The field protocol
in the table Tuple
Implementations§
Source§impl Tuple
impl Tuple
Sourcepub fn builder() -> TupleBuilder<()>
pub fn builder() -> TupleBuilder<()>
Creates a TupleBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_local_address: impl WriteAs<Offset<str>>, field_local_port: impl WriteAsDefault<u16, u16>, field_remote_ip: impl WriteAsOptional<Offset<str>>, field_remote_port: impl WriteAsDefault<u16, u16>, field_protocol: impl WriteAsDefault<Protocol, Protocol>, ) -> Offset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tuple
impl<'de> Deserialize<'de> for Tuple
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 Tuple
impl Ord for Tuple
Source§impl PartialOrd for Tuple
impl PartialOrd for Tuple
impl Eq for Tuple
impl StructuralPartialEq for Tuple
impl VectorWrite<Offset<Tuple>> for Tuple
impl WriteAs<Offset<Tuple>> for Tuple
impl WriteAsOffset<Tuple> for Tuple
impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<u16, u16>, T2: WriteAsOptional<Offset<str>>, T3: WriteAsDefault<u16, u16>, T4: WriteAsDefault<Protocol, Protocol>> WriteAsOffset<Tuple> for TupleBuilder<(T0, T1, T2, T3, T4)>
impl WriteAsOptional<Offset<Tuple>> for Tuple
Auto Trait Implementations§
impl Freeze for Tuple
impl RefUnwindSafe for Tuple
impl Send for Tuple
impl Sync for Tuple
impl Unpin for Tuple
impl UnwindSafe for Tuple
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