pub struct NodeGetAttrResponse {
pub s: i32,
pub attributes: NodeAttributes,
}
Fields§
§s: i32
§attributes: NodeAttributes
Trait Implementations§
Source§impl Clone for NodeGetAttrResponse
impl Clone for NodeGetAttrResponse
Source§fn clone(&self) -> NodeGetAttrResponse
fn clone(&self) -> NodeGetAttrResponse
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 NodeGetAttrResponse
impl Debug for NodeGetAttrResponse
Source§impl Encodable for NodeGetAttrResponse
impl Encodable for NodeGetAttrResponse
Source§type Encoded = WireNodeGetAttrResponse
type Encoded = WireNodeGetAttrResponse
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<NodeGetAttrResponse>
impl EncodableOption for Box<NodeGetAttrResponse>
Source§type EncodedOption = WireBox<WireNodeGetAttrResponse>
type EncodedOption = WireBox<WireNodeGetAttrResponse>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for NodeGetAttrResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<___E> for NodeGetAttrResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> EncodeOption<___E> for Box<NodeGetAttrResponse>where
___E: Encoder + ?Sized,
NodeGetAttrResponse: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<NodeGetAttrResponse>where
___E: Encoder + ?Sized,
NodeGetAttrResponse: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireNodeGetAttrResponse> for NodeGetAttrResponse
impl TakeFrom<WireNodeGetAttrResponse> for NodeGetAttrResponse
Source§fn take_from(from: &WireNodeGetAttrResponse) -> Self
fn take_from(from: &WireNodeGetAttrResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for NodeGetAttrResponse
impl RefUnwindSafe for NodeGetAttrResponse
impl Send for NodeGetAttrResponse
impl Sync for NodeGetAttrResponse
impl Unpin for NodeGetAttrResponse
impl UnwindSafe for NodeGetAttrResponse
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