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