pub struct ProjectServer {
pub from: Option<String>,
pub enabled: Option<bool>,
pub clients: Option<ClientSelection>,
pub unset: Option<Vec<String>>,
pub body: ServerBody,
pub extra: Table,
}Fields§
§from: Option<String>Store server used as the base of this entry.
enabled: Option<bool>false alone suppresses the same-named system server in this folder.
clients: Option<ClientSelection>Clients that get this entry; defaults to defaults.clients.
unset: Option<Vec<String>>Inherited keys to remove, as dotted paths (env.FOO, headers.X-Debug).
body: ServerBody§extra: TableImplementations§
Source§impl ProjectServer
impl ProjectServer
Sourcepub fn is_suppression(&self) -> bool
pub fn is_suppression(&self) -> bool
enabled = false with no definition: hides a system server here.
Trait Implementations§
Source§impl Clone for ProjectServer
impl Clone for ProjectServer
Source§impl Debug for ProjectServer
impl Debug for ProjectServer
Source§impl Default for ProjectServer
impl Default for ProjectServer
Source§impl<'de> Deserialize<'de> for ProjectServer
impl<'de> Deserialize<'de> for ProjectServer
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
Source§impl JsonSchema for ProjectServer
impl JsonSchema for ProjectServer
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ProjectServer
impl PartialEq for ProjectServer
Source§impl Serialize for ProjectServer
impl Serialize for ProjectServer
impl StructuralPartialEq for ProjectServer
Auto Trait Implementations§
impl Forget for ProjectServer
impl Freeze for ProjectServerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, ServerOverride> is !null: Freeze,
PhantomData<Box<(String, ServerOverride)>>: Freeze,
*const LeafNode<String, Map<String, Value>> is !null: Freeze,
PhantomData<Box<(String, Map<String, Value>)>>: Freeze,
impl Move for ProjectServer
impl RefUnwindSafe for ProjectServer
impl Send for ProjectServerwhere
RawVecInner: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Send,
BoxRaw<(String, Map<String, Value>)>: Send,
impl Sync for ProjectServerwhere
RawVecInner: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Sync,
BoxRaw<(String, Map<String, Value>)>: Sync,
impl Unpin for ProjectServerwhere
*const u8 is !null: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, Map<String, Value>> is !null: Unpin,
Box<(String, Map<String, Value>)>: Unpin,
impl UnsafeUnpin for ProjectServerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, ServerOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, ServerOverride)>>: UnsafeUnpin,
*const LeafNode<String, Map<String, Value>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Map<String, Value>)>>: UnsafeUnpin,
impl UnwindSafe for ProjectServerwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, Map<String, Value>>: 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