pub enum StringOrStrings {
String(String),
Strings(Vec<String>),
}Expand description
string | string[] in the TypeScript SDK.
Variants§
Trait Implementations§
Source§impl Clone for StringOrStrings
impl Clone for StringOrStrings
Source§impl Debug for StringOrStrings
impl Debug for StringOrStrings
Source§impl<'de> Deserialize<'de> for StringOrStrings
impl<'de> Deserialize<'de> for StringOrStrings
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
impl Eq for StringOrStrings
Source§impl PartialEq for StringOrStrings
impl PartialEq for StringOrStrings
Source§impl Serialize for StringOrStrings
impl Serialize for StringOrStrings
impl StructuralPartialEq for StringOrStrings
Auto Trait Implementations§
impl Forget for StringOrStrings
impl Freeze for StringOrStrings
impl Move for StringOrStrings
impl RefUnwindSafe for StringOrStrings
impl Send for StringOrStrings
impl Sync for StringOrStrings
impl Unpin for StringOrStrings
impl UnsafeUnpin for StringOrStrings
impl UnwindSafe for StringOrStrings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.