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