pub enum EnumOrStruct {
Struct(ItemStruct),
Enum(ItemEnum),
}
Expand description
Structs and Enums are the only items that are relevant for finding PII fields.
Variants§
Struct(ItemStruct)
Enum(ItemEnum)
Trait Implementations§
Source§impl Clone for EnumOrStruct
impl Clone for EnumOrStruct
Source§fn clone(&self) -> EnumOrStruct
fn clone(&self) -> EnumOrStruct
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 moreAuto Trait Implementations§
impl Freeze for EnumOrStruct
impl RefUnwindSafe for EnumOrStruct
impl !Send for EnumOrStruct
impl !Sync for EnumOrStruct
impl Unpin for EnumOrStruct
impl UnwindSafe for EnumOrStruct
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