pub struct RejectLearnedSimilarityResponse {
pub message: String,
pub success: bool,
}Expand description
Response for reject operation
Fields§
§message: String§success: boolImplementations§
Trait Implementations§
Source§impl Clone for RejectLearnedSimilarityResponse
impl Clone for RejectLearnedSimilarityResponse
Source§fn clone(&self) -> RejectLearnedSimilarityResponse
fn clone(&self) -> RejectLearnedSimilarityResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RejectLearnedSimilarityResponse
impl<'de> Deserialize<'de> for RejectLearnedSimilarityResponse
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<RejectLearnedSimilarityResponse> for RejectLearnedSimilarityResponse
impl From<RejectLearnedSimilarityResponse> for RejectLearnedSimilarityResponse
Source§fn from(value: RejectLearnedSimilarityResponse) -> Self
fn from(value: RejectLearnedSimilarityResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RejectLearnedSimilarityResponse
impl PartialEq for RejectLearnedSimilarityResponse
Source§fn eq(&self, other: &RejectLearnedSimilarityResponse) -> bool
fn eq(&self, other: &RejectLearnedSimilarityResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<RejectLearnedSimilarityResponse> for RejectLearnedSimilarityResponse
impl TryFrom<RejectLearnedSimilarityResponse> for RejectLearnedSimilarityResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: RejectLearnedSimilarityResponse,
) -> Result<Self, ConversionError>
fn try_from( value: RejectLearnedSimilarityResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
impl StructuralPartialEq for RejectLearnedSimilarityResponse
Auto Trait Implementations§
impl Freeze for RejectLearnedSimilarityResponse
impl RefUnwindSafe for RejectLearnedSimilarityResponse
impl Send for RejectLearnedSimilarityResponse
impl Sync for RejectLearnedSimilarityResponse
impl Unpin for RejectLearnedSimilarityResponse
impl UnsafeUnpin for RejectLearnedSimilarityResponse
impl UnwindSafe for RejectLearnedSimilarityResponse
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