pub struct RandomBytes {
pub count: usize,
}
Fields
count: usize
Trait Implementations
sourceimpl Clone for RandomBytes
impl Clone for RandomBytes
sourcefn clone(&self) -> RandomBytes
fn clone(&self) -> RandomBytes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RandomBytes
impl Debug for RandomBytes
sourceimpl<'de> Deserialize<'de> for RandomBytes
impl<'de> Deserialize<'de> for RandomBytes
sourcefn 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
sourceimpl From<RandomBytes> for Request
impl From<RandomBytes> for Request
sourcefn from(request: RandomBytes) -> Self
fn from(request: RandomBytes) -> Self
Performs the conversion.
sourceimpl PartialEq<RandomBytes> for RandomBytes
impl PartialEq<RandomBytes> for RandomBytes
sourcefn eq(&self, other: &RandomBytes) -> bool
fn eq(&self, other: &RandomBytes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RandomBytes) -> bool
fn ne(&self, other: &RandomBytes) -> bool
This method tests for !=
.
sourceimpl Serialize for RandomBytes
impl Serialize for RandomBytes
impl Eq for RandomBytes
impl StructuralEq for RandomBytes
impl StructuralPartialEq for RandomBytes
Auto Trait Implementations
impl RefUnwindSafe for RandomBytes
impl Send for RandomBytes
impl Sync for RandomBytes
impl Unpin for RandomBytes
impl UnwindSafe for RandomBytes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more