pub enum IntOrStr {
Integer(i64),
String(String),
}Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for IntOrStr
impl<'de> Deserialize<'de> for IntOrStr
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 From<IntOrStr> for UlimitsValue
impl From<IntOrStr> for UlimitsValue
source§impl PartialOrd for IntOrStr
impl PartialOrd for IntOrStr
impl StructuralPartialEq for IntOrStr
Auto Trait Implementations§
impl Freeze for IntOrStr
impl RefUnwindSafe for IntOrStr
impl Send for IntOrStr
impl Sync for IntOrStr
impl Unpin for IntOrStr
impl UnwindSafe for IntOrStr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)