pub struct StubServerSettings {
pub error: String,
}Expand description
StubServerSettings allows the server configuration file to specify
the default error to use for requests to the “error” app_id.
Requests to endpoints associated with this client will return the
error string.
Fields§
§error: StringTrait Implementations§
Source§impl Clone for StubServerSettings
impl Clone for StubServerSettings
Source§fn clone(&self) -> StubServerSettings
fn clone(&self) -> StubServerSettings
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 StubServerSettings
impl Debug for StubServerSettings
Source§impl Default for StubServerSettings
impl Default for StubServerSettings
Source§impl<'de> Deserialize<'de> for StubServerSettings
impl<'de> Deserialize<'de> for StubServerSettings
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 StubServerSettings
impl RefUnwindSafe for StubServerSettings
impl Send for StubServerSettings
impl Sync for StubServerSettings
impl Unpin for StubServerSettings
impl UnwindSafe for StubServerSettings
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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