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