pub struct WorkerScope {
pub use_: Option<Vec<String>>,
pub limits: BTreeMap<String, LimitOverrides>,
}Expand description
sidecars.scopes.worker.<id> (§8.1): use: (a subset of
scopes.server) and/or limits: (per-instance narrowing). An
empty use: [] is legal and resolves that worker to an empty
set; an absent use: keeps the whole server set — the two are not
the same (§8.1).
Fields§
§use_: Option<Vec<String>>§limits: BTreeMap<String, LimitOverrides>Trait Implementations§
Source§impl Clone for WorkerScope
impl Clone for WorkerScope
Source§impl Debug for WorkerScope
impl Debug for WorkerScope
Source§impl Default for WorkerScope
impl Default for WorkerScope
Source§impl<'de> Deserialize<'de> for WorkerScope
impl<'de> Deserialize<'de> for WorkerScope
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
impl Eq for WorkerScope
Source§impl PartialEq for WorkerScope
impl PartialEq for WorkerScope
Source§impl Serialize for WorkerScope
impl Serialize for WorkerScope
impl StructuralPartialEq for WorkerScope
Auto Trait Implementations§
impl Forget for WorkerScope
impl Freeze for WorkerScopewhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, LimitOverrides> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, LimitOverrides)>>: Freeze,
impl Move for WorkerScope
impl RefUnwindSafe for WorkerScope
impl Send for WorkerScopewhere
RawVecInner: Send,
NodeRef<Owned, String, LimitOverrides, LeafOrInternal>: Send,
BoxRaw<(String, LimitOverrides)>: Send,
impl Sync for WorkerScopewhere
RawVecInner: Sync,
NodeRef<Owned, String, LimitOverrides, LeafOrInternal>: Sync,
BoxRaw<(String, LimitOverrides)>: Sync,
impl Unpin for WorkerScope
impl UnsafeUnpin for WorkerScopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, LimitOverrides> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, LimitOverrides)>>: UnsafeUnpin,
impl UnwindSafe for WorkerScope
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