pub struct TestSquareInt { /* private fields */ }
Expand description
Returns the squared received number; for testing only. This is an offline method. Can be called before authorization
Implementations§
Trait Implementations§
Source§impl AsRef<TestSquareInt> for TestSquareInt
impl AsRef<TestSquareInt> for TestSquareInt
Source§fn as_ref(&self) -> &TestSquareInt
fn as_ref(&self) -> &TestSquareInt
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for TestSquareInt
impl Clone for TestSquareInt
Source§fn clone(&self) -> TestSquareInt
fn clone(&self) -> TestSquareInt
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 TestSquareInt
impl Debug for TestSquareInt
Source§impl Default for TestSquareInt
impl Default for TestSquareInt
Source§fn default() -> TestSquareInt
fn default() -> TestSquareInt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestSquareInt
impl<'de> Deserialize<'de> for TestSquareInt
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
Auto Trait Implementations§
impl Freeze for TestSquareInt
impl RefUnwindSafe for TestSquareInt
impl Send for TestSquareInt
impl Sync for TestSquareInt
impl Unpin for TestSquareInt
impl UnwindSafe for TestSquareInt
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