pub struct RevoltConfiguration {
pub revolt: String,
pub features: RevoltInstanceFeatures,
pub ws: String,
pub app: String,
pub vapid: String,
}Expand description
Data about a revolt instance obtained by
making a GET / on the api.
Fields§
§revolt: String§features: RevoltInstanceFeatures§ws: String§app: String§vapid: StringTrait Implementations§
Source§impl Clone for RevoltConfiguration
impl Clone for RevoltConfiguration
Source§fn clone(&self) -> RevoltConfiguration
fn clone(&self) -> RevoltConfiguration
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<'de> Deserialize<'de> for RevoltConfiguration
impl<'de> Deserialize<'de> for RevoltConfiguration
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 RevoltConfiguration
impl RefUnwindSafe for RevoltConfiguration
impl Send for RevoltConfiguration
impl Sync for RevoltConfiguration
impl Unpin for RevoltConfiguration
impl UnwindSafe for RevoltConfiguration
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