pub struct InstanceFeatures {
pub captcha: CaptchaConfiguration,
pub email: bool,
pub invite_only: bool,
pub autumn: AutumnConfiguration,
pub january: JanuaryConfiguration,
pub voso: VosoConfiguration,
}Expand description
Features enabled on this Revolt node
Fields§
§captcha: CaptchaConfigurationhCaptcha configuration
email: boolWhether email verification is enabled
invite_only: boolWhether this instance is invite only
autumn: AutumnConfigurationFile server service configuration
january: JanuaryConfigurationProxy server configuration
voso: VosoConfigurationVoice server configuration
Trait Implementations§
Source§impl Clone for InstanceFeatures
impl Clone for InstanceFeatures
Source§fn clone(&self) -> InstanceFeatures
fn clone(&self) -> InstanceFeatures
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 InstanceFeatures
impl Debug for InstanceFeatures
Source§impl<'de> Deserialize<'de> for InstanceFeatures
impl<'de> Deserialize<'de> for InstanceFeatures
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
Auto Trait Implementations§
impl Freeze for InstanceFeatures
impl RefUnwindSafe for InstanceFeatures
impl Send for InstanceFeatures
impl Sync for InstanceFeatures
impl Unpin for InstanceFeatures
impl UnwindSafe for InstanceFeatures
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