pub struct ScopesConfig {
pub server: Vec<String>,
pub worker: BTreeMap<String, WorkerScope>,
}Expand description
sidecars.scopes — exactly two keys (§8.1).
Fields§
§server: Vec<String>Every session’s widest set; the widest set any worker may hold. An empty list is legal and means “no sidecars for anyone”.
worker: BTreeMap<String, WorkerScope>Per execution-worker id — narrows only, never adds.
Trait Implementations§
Source§impl Clone for ScopesConfig
impl Clone for ScopesConfig
Source§impl Debug for ScopesConfig
impl Debug for ScopesConfig
Source§impl Default for ScopesConfig
impl Default for ScopesConfig
Source§impl<'de> Deserialize<'de> for ScopesConfig
impl<'de> Deserialize<'de> for ScopesConfig
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 ScopesConfig
Source§impl PartialEq for ScopesConfig
impl PartialEq for ScopesConfig
Source§impl Serialize for ScopesConfig
impl Serialize for ScopesConfig
impl StructuralPartialEq for ScopesConfig
Auto Trait Implementations§
impl Forget for ScopesConfig
impl Freeze for ScopesConfigwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, WorkerScope> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, WorkerScope)>>: Freeze,
impl Move for ScopesConfig
impl RefUnwindSafe for ScopesConfig
impl Send for ScopesConfigwhere
RawVecInner: Send,
NodeRef<Owned, String, WorkerScope, LeafOrInternal>: Send,
BoxRaw<(String, WorkerScope)>: Send,
impl Sync for ScopesConfigwhere
RawVecInner: Sync,
NodeRef<Owned, String, WorkerScope, LeafOrInternal>: Sync,
BoxRaw<(String, WorkerScope)>: Sync,
impl Unpin for ScopesConfig
impl UnsafeUnpin for ScopesConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, WorkerScope> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, WorkerScope)>>: UnsafeUnpin,
impl UnwindSafe for ScopesConfig
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