#[non_exhaustive]pub struct Rest {
pub allowed_sources: Vec<String>,
pub connection_limit: Option<String>,
pub enable_explorer: bool,
pub http: Option<RestHttp>,
pub https: Option<RestHttps>,
pub routing_instance: Option<String>,
pub traceoptions: Option<Traceoptions>,
}Expand description
The system services rest settings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.allowed_sources: Vec<String>From control allowed-sources.
connection_limit: Option<String>From control connection-limit.
enable_explorer: bool§http: Option<RestHttp>§https: Option<RestHttps>§routing_instance: Option<String>§traceoptions: Option<Traceoptions>Trait Implementations§
impl Eq for Rest
impl StructuralPartialEq for Rest
Auto Trait Implementations§
impl Forget for Rest
impl Freeze for Restwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<TraceFlag>: Freeze,
impl Move for Rest
impl RefUnwindSafe for Rest
impl Send for Restwhere
RawVecInner: Send,
impl Sync for Restwhere
RawVecInner: Sync,
impl Unpin for Rest
impl UnsafeUnpin for Restwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Restwhere
RawVecInner: UnwindSafe,
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