pub struct OneBotDriverConfig {
pub server: Server,
}Fields§
§server: ServerImplementations§
Source§impl OneBotDriverConfig
impl OneBotDriverConfig
pub fn normalize_path(self) -> Self
Trait Implementations§
Source§impl AsRef<OneBotDriverConfig> for OneBotDriverConfig
impl AsRef<OneBotDriverConfig> for OneBotDriverConfig
Source§fn as_ref(&self) -> &OneBotDriverConfig
fn as_ref(&self) -> &OneBotDriverConfig
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for OneBotDriverConfig
impl Clone for OneBotDriverConfig
Source§fn clone(&self) -> OneBotDriverConfig
fn clone(&self) -> OneBotDriverConfig
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 OneBotDriverConfig
impl Debug for OneBotDriverConfig
Source§impl<'de> Deserialize<'de> for OneBotDriverConfig
impl<'de> Deserialize<'de> for OneBotDriverConfig
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 OneBotDriverConfig
impl RefUnwindSafe for OneBotDriverConfig
impl Send for OneBotDriverConfig
impl Sync for OneBotDriverConfig
impl Unpin for OneBotDriverConfig
impl UnsafeUnpin for OneBotDriverConfig
impl UnwindSafe for OneBotDriverConfig
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