pub struct RestCommandConfig {
pub description: Option<String>,
pub base_url: String,
pub method_default: String,
pub auth: Option<AuthConfig>,
pub headers: BTreeMap<String, String>,
}Fields§
§description: Option<String>§base_url: String§method_default: String§auth: Option<AuthConfig>§headers: BTreeMap<String, String>Trait Implementations§
Source§impl Debug for RestCommandConfig
impl Debug for RestCommandConfig
Source§impl<'de> Deserialize<'de> for RestCommandConfig
impl<'de> Deserialize<'de> for RestCommandConfig
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 RestCommandConfig
impl RefUnwindSafe for RestCommandConfig
impl Send for RestCommandConfig
impl Sync for RestCommandConfig
impl Unpin for RestCommandConfig
impl UnsafeUnpin for RestCommandConfig
impl UnwindSafe for RestCommandConfig
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