pub struct GreetingsConfig {
pub inbound: Vec<String>,
pub outbound_template: String,
pub outbound_fallback: String,
}Fields§
§inbound: Vec<String>§outbound_template: String§outbound_fallback: StringTrait Implementations§
Source§impl Clone for GreetingsConfig
impl Clone for GreetingsConfig
Source§fn clone(&self) -> GreetingsConfig
fn clone(&self) -> GreetingsConfig
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 GreetingsConfig
impl Debug for GreetingsConfig
Source§impl Default for GreetingsConfig
impl Default for GreetingsConfig
Source§impl<'de> Deserialize<'de> for GreetingsConfig
impl<'de> Deserialize<'de> for GreetingsConfig
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 GreetingsConfig
impl RefUnwindSafe for GreetingsConfig
impl Send for GreetingsConfig
impl Sync for GreetingsConfig
impl Unpin for GreetingsConfig
impl UnsafeUnpin for GreetingsConfig
impl UnwindSafe for GreetingsConfig
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