#[non_exhaustive]pub enum BackendDependency {
Reqwest,
SerdeJson,
Regex,
Rand,
Chrono,
ChronoTz,
Url,
UnicodeNormalization,
}Expand description
Backend crate required by a standard-library mapping.
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.
Reqwest
reqwest for generated HTTP clients.
SerdeJson
serde_json for generated JSON parsing and serialization.
Regex
regex for generated regular-expression matching.
Rand
rand for generated random values.
Chrono
chrono for generated date and datetime values.
ChronoTz
chrono-tz for generated IANA time zone conversion.
Url
url for generated URL parsing and field access.
UnicodeNormalization
unicode-normalization for generated String.prototype.normalize.
Implementations§
Source§impl BackendDependency
impl BackendDependency
Sourcepub const fn cargo_dependency(self) -> &'static str
pub const fn cargo_dependency(self) -> &'static str
Return the generated Cargo.toml dependency line for this backend crate.
Trait Implementations§
Source§impl Clone for BackendDependency
impl Clone for BackendDependency
impl Copy for BackendDependency
Source§impl Debug for BackendDependency
impl Debug for BackendDependency
impl Eq for BackendDependency
Source§impl Hash for BackendDependency
impl Hash for BackendDependency
Source§impl PartialEq for BackendDependency
impl PartialEq for BackendDependency
impl StructuralPartialEq for BackendDependency
Auto Trait Implementations§
impl Freeze for BackendDependency
impl RefUnwindSafe for BackendDependency
impl Send for BackendDependency
impl Sync for BackendDependency
impl Unpin for BackendDependency
impl UnsafeUnpin for BackendDependency
impl UnwindSafe for BackendDependency
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