pub struct InspectionConfig {
pub enabled: bool,
pub bind: InspectionBind,
pub auth_token: Option<String>,
}Expand description
Inspection API configuration.
Fields§
§enabled: boolWhether the inspection API is enabled. Default: true.
bind: InspectionBindBind address. Default: Unix socket.
auth_token: Option<String>Optional bearer token for authentication.
Trait Implementations§
Source§impl Clone for InspectionConfig
impl Clone for InspectionConfig
Source§impl Debug for InspectionConfig
impl Debug for InspectionConfig
Source§impl Default for InspectionConfig
impl Default for InspectionConfig
Source§impl<'de> Deserialize<'de> for InspectionConfig
impl<'de> Deserialize<'de> for InspectionConfig
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 Forget for InspectionConfig
impl Freeze for InspectionConfig
impl Move for InspectionConfig
impl RefUnwindSafe for InspectionConfig
impl Send for InspectionConfig
impl Sync for InspectionConfig
impl Unpin for InspectionConfig
impl UnsafeUnpin for InspectionConfig
impl UnwindSafe for InspectionConfig
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