pub struct CalculatorDivideRequest {
pub dividend: i32,
pub divisor: i32,
}
Fields§
§dividend: i32
§divisor: i32
Trait Implementations§
Source§impl Clone for CalculatorDivideRequest
impl Clone for CalculatorDivideRequest
Source§fn clone(&self) -> CalculatorDivideRequest
fn clone(&self) -> CalculatorDivideRequest
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 CalculatorDivideRequest
impl Debug for CalculatorDivideRequest
Source§impl Encodable for CalculatorDivideRequest
impl Encodable for CalculatorDivideRequest
Source§type Encoded<'buf> = WireCalculatorDivideRequest
type Encoded<'buf> = WireCalculatorDivideRequest
The wire type for the value.
Source§impl EncodableOption for Box<CalculatorDivideRequest>
impl EncodableOption for Box<CalculatorDivideRequest>
Source§type EncodedOption<'buf> = WireBox<'buf, WireCalculatorDivideRequest>
type EncodedOption<'buf> = WireBox<'buf, WireCalculatorDivideRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for CalculatorDivideRequest
impl<___E> Encode<___E> for CalculatorDivideRequest
Source§impl<___E> EncodeOption<___E> for Box<CalculatorDivideRequest>
impl<___E> EncodeOption<___E> for Box<CalculatorDivideRequest>
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
slot: Slot<'_, Self::EncodedOption<'_>>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, slot: Slot<'_, Self::EncodedOption<'_>>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and slot.
Source§impl TakeFrom<WireCalculatorDivideRequest> for CalculatorDivideRequest
impl TakeFrom<WireCalculatorDivideRequest> for CalculatorDivideRequest
Source§fn take_from(from: &mut WireCalculatorDivideRequest) -> Self
fn take_from(from: &mut WireCalculatorDivideRequest) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for CalculatorDivideRequest
impl RefUnwindSafe for CalculatorDivideRequest
impl Send for CalculatorDivideRequest
impl Sync for CalculatorDivideRequest
impl Unpin for CalculatorDivideRequest
impl UnwindSafe for CalculatorDivideRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)