pub struct RenderedServer {
pub name: String,
pub launch: Launch,
pub enabled: bool,
pub tools: ToolLists,
pub passthrough: NativeMap,
}Expand description
A server ready to write for one client: layers merged, OS overrides applied and secret references rendered for the client’s delivery mode (SPEC 6, 11.4). Values are written as they are.
Fields§
§name: StringThe native entry key (the server id or its native_name).
launch: Launch§enabled: boolfalse writes the entry natively disabled (enabled: false, SPEC
8.4, 11.9). A client without that mechanism blocks the target
(unsupported_field).
tools: ToolListsThe tool filter ([tools]), written through the client’s native
fields (Caps::tool_filter). A client without them blocks the
target; dropping the filter instead is the renderer’s choice.
passthrough: NativeMap[client.<id>] fields other than native_name, already checked
against the client’s passthrough allowlist.
Implementations§
Trait Implementations§
Source§impl Clone for RenderedServer
impl Clone for RenderedServer
Source§impl Debug for RenderedServer
impl Debug for RenderedServer
Source§impl PartialEq for RenderedServer
impl PartialEq for RenderedServer
impl StructuralPartialEq for RenderedServer
Auto Trait Implementations§
impl Forget for RenderedServer
impl Freeze for RenderedServerwhere
*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,
PhantomData<(String, NativeValue)>: Freeze,
impl Move for RenderedServer
impl RefUnwindSafe for RenderedServer
impl Send for RenderedServer
impl Sync for RenderedServer
impl Unpin for RenderedServer
impl UnsafeUnpin for RenderedServerwhere
*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,
PhantomData<(String, NativeValue)>: UnsafeUnpin,
impl UnwindSafe for RenderedServer
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