pub struct NonCitizenInfo {
pub type_name: &'static str,
pub crate_name: &'static str,
pub reason: &'static str,
pub kind: &'static str,
pub descriptor: &'static str,
}Expand description
One inventory-registered explicit non-citizen exemption.
Collected via inventory so live handles and other deliberate exemptions
are recorded alongside citizens rather than only living in source comments.
Fields§
§type_name: &'static strThe Rust type name carrying the exemption.
crate_name: &'static strThe crate that defined the exemption.
reason: &'static strWhy the type is exempt from citizen conformance.
kind: &'static strThe exemption kind, for example live-handle.
descriptor: &'static strThe named descriptor strategy the type follows instead.
Trait Implementations§
Source§impl Clone for NonCitizenInfo
impl Clone for NonCitizenInfo
Source§fn clone(&self) -> NonCitizenInfo
fn clone(&self) -> NonCitizenInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Collect for NonCitizenInfo
impl Copy for NonCitizenInfo
Auto Trait Implementations§
impl Freeze for NonCitizenInfo
impl RefUnwindSafe for NonCitizenInfo
impl Send for NonCitizenInfo
impl Sync for NonCitizenInfo
impl Unpin for NonCitizenInfo
impl UnsafeUnpin for NonCitizenInfo
impl UnwindSafe for NonCitizenInfo
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