pub struct Node {
pub node_id: i32,
pub listeners: Vec<Listener>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§node_id: i32The ID of the associated node.
listeners: Vec<Listener>The listeners of this controller.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl Node
impl Node
pub fn with_node_id(self, value: i32) -> Self
pub fn with_listeners(self, value: Vec<Listener>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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