pub struct BooleanResult {
pub result: bool,
}Expand description
Boolean result response
JSON schema
{
"description": "Boolean result response",
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"description": "ENTITY.BOOLEAN_RESULT.RESULT",
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§result: boolENTITY.BOOLEAN_RESULT.RESULT
Implementations§
Source§impl BooleanResult
impl BooleanResult
pub fn builder() -> BooleanResult
Trait Implementations§
Source§impl Clone for BooleanResult
impl Clone for BooleanResult
Source§fn clone(&self) -> BooleanResult
fn clone(&self) -> BooleanResult
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 Debug for BooleanResult
impl Debug for BooleanResult
Source§impl<'de> Deserialize<'de> for BooleanResult
impl<'de> Deserialize<'de> for BooleanResult
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<&BooleanResult> for BooleanResult
impl From<&BooleanResult> for BooleanResult
Source§fn from(value: &BooleanResult) -> Self
fn from(value: &BooleanResult) -> Self
Converts to this type from the input type.
Source§impl From<BooleanResult> for BooleanResult
impl From<BooleanResult> for BooleanResult
Source§fn from(value: BooleanResult) -> Self
fn from(value: BooleanResult) -> Self
Converts to this type from the input type.
Source§impl Serialize for BooleanResult
impl Serialize for BooleanResult
Source§impl TryFrom<BooleanResult> for BooleanResult
impl TryFrom<BooleanResult> for BooleanResult
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BooleanResult) -> Result<Self, ConversionError>
fn try_from(value: BooleanResult) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BooleanResult
impl RefUnwindSafe for BooleanResult
impl Send for BooleanResult
impl Sync for BooleanResult
impl Unpin for BooleanResult
impl UnsafeUnpin for BooleanResult
impl UnwindSafe for BooleanResult
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