pub struct SpecialViewOptionDto {
pub id: Option<String>,
pub name: Option<String>,
}
Expand description
Special view option dto.
JSON schema
{
"description": "Special view option dto.",
"type": "object",
"properties": {
"Id": {
"description": "Gets or sets view option id.",
"type": [
"string",
"null"
]
},
"Name": {
"description": "Gets or sets view option name.",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Fields§
§id: Option<String>
Gets or sets view option id.
name: Option<String>
Gets or sets view option name.
Implementations§
Source§impl SpecialViewOptionDto
impl SpecialViewOptionDto
pub fn builder() -> SpecialViewOptionDto
Trait Implementations§
Source§impl Clone for SpecialViewOptionDto
impl Clone for SpecialViewOptionDto
Source§fn clone(&self) -> SpecialViewOptionDto
fn clone(&self) -> SpecialViewOptionDto
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 SpecialViewOptionDto
impl Debug for SpecialViewOptionDto
Source§impl<'de> Deserialize<'de> for SpecialViewOptionDto
impl<'de> Deserialize<'de> for SpecialViewOptionDto
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<&SpecialViewOptionDto> for SpecialViewOptionDto
impl From<&SpecialViewOptionDto> for SpecialViewOptionDto
Source§fn from(value: &SpecialViewOptionDto) -> Self
fn from(value: &SpecialViewOptionDto) -> Self
Converts to this type from the input type.
Source§impl From<SpecialViewOptionDto> for SpecialViewOptionDto
impl From<SpecialViewOptionDto> for SpecialViewOptionDto
Source§fn from(value: SpecialViewOptionDto) -> Self
fn from(value: SpecialViewOptionDto) -> Self
Converts to this type from the input type.
Source§impl Serialize for SpecialViewOptionDto
impl Serialize for SpecialViewOptionDto
Source§impl TryFrom<SpecialViewOptionDto> for SpecialViewOptionDto
impl TryFrom<SpecialViewOptionDto> for SpecialViewOptionDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SpecialViewOptionDto) -> Result<Self, ConversionError>
fn try_from(value: SpecialViewOptionDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SpecialViewOptionDto
impl RefUnwindSafe for SpecialViewOptionDto
impl Send for SpecialViewOptionDto
impl Sync for SpecialViewOptionDto
impl Unpin for SpecialViewOptionDto
impl UnwindSafe for SpecialViewOptionDto
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