pub struct ValidateInput {
pub kind: ValidateInputType,
pub value: String,
}Expand description
Request body for Client::validate.
Fields§
§kind: ValidateInputTypeIdentifier type to check.
value: StringIdentifier value to validate.
Trait Implementations§
Source§impl Clone for ValidateInput
impl Clone for ValidateInput
Source§fn clone(&self) -> ValidateInput
fn clone(&self) -> ValidateInput
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 moreSource§impl Debug for ValidateInput
impl Debug for ValidateInput
Source§impl<'de> Deserialize<'de> for ValidateInput
impl<'de> Deserialize<'de> for ValidateInput
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 PartialEq for ValidateInput
impl PartialEq for ValidateInput
Source§fn eq(&self, other: &ValidateInput) -> bool
fn eq(&self, other: &ValidateInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidateInput
impl Serialize for ValidateInput
impl Eq for ValidateInput
impl StructuralPartialEq for ValidateInput
Auto Trait Implementations§
impl Freeze for ValidateInput
impl RefUnwindSafe for ValidateInput
impl Send for ValidateInput
impl Sync for ValidateInput
impl Unpin for ValidateInput
impl UnsafeUnpin for ValidateInput
impl UnwindSafe for ValidateInput
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