pub struct SimilarQuery {
pub limit: Option<i64>,
pub type_: Option<SimilarType>,
}Expand description
SimilarQuery
JSON schema
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int64"
},
"type": {
"$ref": "#/components/schemas/SimilarType"
}
}
}Fields§
§limit: Option<i64>§type_: Option<SimilarType>Implementations§
Source§impl SimilarQuery
impl SimilarQuery
pub fn builder() -> SimilarQuery
Trait Implementations§
Source§impl Clone for SimilarQuery
impl Clone for SimilarQuery
Source§fn clone(&self) -> SimilarQuery
fn clone(&self) -> SimilarQuery
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 SimilarQuery
impl Debug for SimilarQuery
Source§impl Default for SimilarQuery
impl Default for SimilarQuery
Source§impl<'de> Deserialize<'de> for SimilarQuery
impl<'de> Deserialize<'de> for SimilarQuery
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<&SimilarQuery> for SimilarQuery
impl From<&SimilarQuery> for SimilarQuery
Source§fn from(value: &SimilarQuery) -> Self
fn from(value: &SimilarQuery) -> Self
Converts to this type from the input type.
Source§impl From<SimilarQuery> for SimilarQuery
impl From<SimilarQuery> for SimilarQuery
Source§fn from(value: SimilarQuery) -> Self
fn from(value: SimilarQuery) -> Self
Converts to this type from the input type.
Source§impl Serialize for SimilarQuery
impl Serialize for SimilarQuery
Source§impl TryFrom<SimilarQuery> for SimilarQuery
impl TryFrom<SimilarQuery> for SimilarQuery
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SimilarQuery) -> Result<Self, ConversionError>
fn try_from(value: SimilarQuery) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SimilarQuery
impl RefUnwindSafe for SimilarQuery
impl Send for SimilarQuery
impl Sync for SimilarQuery
impl Unpin for SimilarQuery
impl UnsafeUnpin for SimilarQuery
impl UnwindSafe for SimilarQuery
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