#[non_exhaustive]pub enum ApiNamespace {
Json,
Regex,
Random,
Http,
DateTime,
Url,
}Expand description
Broad API namespace for a standard-library rule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Json
JSON parse/stringify APIs.
Regex
Regular-expression APIs.
Random
Random-number APIs.
Http
HTTP client APIs.
DateTime
Date and datetime APIs.
Url
URL parsing and field APIs.
Trait Implementations§
Source§impl Clone for ApiNamespace
impl Clone for ApiNamespace
impl Copy for ApiNamespace
Source§impl Debug for ApiNamespace
impl Debug for ApiNamespace
impl Eq for ApiNamespace
Source§impl PartialEq for ApiNamespace
impl PartialEq for ApiNamespace
impl StructuralPartialEq for ApiNamespace
Auto Trait Implementations§
impl Freeze for ApiNamespace
impl RefUnwindSafe for ApiNamespace
impl Send for ApiNamespace
impl Sync for ApiNamespace
impl Unpin for ApiNamespace
impl UnsafeUnpin for ApiNamespace
impl UnwindSafe for ApiNamespace
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