pub enum TestEventPerms {
Set(User),
}
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for TestEventPerms
impl<'arbitrary> Arbitrary<'arbitrary> for TestEventPerms
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for TestEventPerms
impl Clone for TestEventPerms
Source§fn clone(&self) -> TestEventPerms
fn clone(&self) -> TestEventPerms
Returns a duplicate 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 TestEventPerms
impl Debug for TestEventPerms
Source§impl DeepSizeOf for TestEventPerms
impl DeepSizeOf for TestEventPerms
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for TestEventPerms
impl<'de> Deserialize<'de> for TestEventPerms
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
Source§impl Event for TestEventPerms
impl Event for TestEventPerms
fn required_binaries(&self) -> Vec<BinPtr>
Source§impl PartialEq for TestEventPerms
impl PartialEq for TestEventPerms
Source§impl Serialize for TestEventPerms
impl Serialize for TestEventPerms
impl Eq for TestEventPerms
impl StructuralPartialEq for TestEventPerms
Auto Trait Implementations§
impl Freeze for TestEventPerms
impl RefUnwindSafe for TestEventPerms
impl Send for TestEventPerms
impl Sync for TestEventPerms
impl Unpin for TestEventPerms
impl UnwindSafe for TestEventPerms
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