pub struct BridgePart {
pub id: Symbol,
pub kind: Symbol,
pub payload: Expr,
}Expand description
One typed body part in a BRIDGE packet.
Fields§
§id: SymbolPart id, referenced by header fields and other parts.
kind: SymbolRegistered part kind.
payload: ExprPart payload expression.
Trait Implementations§
Source§impl Clone for BridgePart
impl Clone for BridgePart
Source§fn clone(&self) -> BridgePart
fn clone(&self) -> BridgePart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgePart
impl Debug for BridgePart
impl Eq for BridgePart
Source§impl PartialEq for BridgePart
impl PartialEq for BridgePart
impl StructuralPartialEq for BridgePart
Auto Trait Implementations§
impl Freeze for BridgePart
impl RefUnwindSafe for BridgePart
impl Send for BridgePart
impl Sync for BridgePart
impl Unpin for BridgePart
impl UnsafeUnpin for BridgePart
impl UnwindSafe for BridgePart
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