pub struct DesiredEntry {
pub client: &'static str,
pub server_id: String,
pub name: String,
pub server: Result<RenderedServer, CoreError>,
pub delivery: Option<&'static str>,
pub inline: Vec<SecretValue>,
pub warnings: Vec<CoreError>,
pub native: Option<NativeValue>,
}Expand description
One server as one client should have it.
Fields§
§client: &'static str§server_id: String§name: StringThe native entry key (native_name or the server id).
server: Result<RenderedServer, CoreError>The rendered server, or why it cannot be written (the entry is
blocked).
delivery: Option<&'static str>The entry’s delivery mode (env, command, launch, inline)
when it holds references.
inline: Vec<SecretValue>Values written in plain text (inline), masked in diffs.
warnings: Vec<CoreError>Delivery warnings (inline_env_fallback).
native: Option<NativeValue>A native entry written as it is instead of mapping
DesiredEntry::server (a project suppression entry such as Codex
{ enabled = false }).
Trait Implementations§
Source§impl Clone for DesiredEntry
impl Clone for DesiredEntry
Auto Trait Implementations§
impl Forget for DesiredEntry
impl Freeze for DesiredEntrywhere
&'static str: Freeze,
*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,
PhantomData<SecretValue>: Freeze,
PhantomData<CoreError>: Freeze,
PhantomData<NativeValue>: Freeze,
impl Move for DesiredEntry
impl RefUnwindSafe for DesiredEntry
impl Send for DesiredEntry
impl Sync for DesiredEntry
impl Unpin for DesiredEntry
impl UnsafeUnpin for DesiredEntrywhere
&'static str: UnsafeUnpin,
*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,
PhantomData<SecretValue>: UnsafeUnpin,
PhantomData<CoreError>: UnsafeUnpin,
PhantomData<NativeValue>: UnsafeUnpin,
impl UnwindSafe for DesiredEntry
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