pub struct CodexAppServerProtocolCombined(pub Map<String, Value>);Expand description
Merged, flat-ref, self-contained v2-only Codex app-server protocol schema (master envelope/ServerRequest/ClientNotification types ref-rewritten to flat + v2 client-request/notification surface). Generated by cargo xtask codex-schema regen.
JSON schema
{
"title": "CodexAppServerProtocolCombined",
"description": "Merged, flat-ref, self-contained v2-only Codex app-server protocol schema (master envelope/ServerRequest/ClientNotification types ref-rewritten to flat + v2 client-request/notification surface). Generated by `cargo xtask codex-schema regen`.",
"type": "object"
}Tuple Fields§
§0: Map<String, Value>Methods from Deref<Target = Map<String, Value>>§
Sourcepub fn get<Q>(&self, key: &Q) -> Option<&Value>
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
Returns a reference to the value corresponding to the key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Sourcepub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn contains_key<Q>(&self, key: &Q) -> bool
Returns true if the map contains a value for the specified key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Trait Implementations§
Source§impl Clone for CodexAppServerProtocolCombined
impl Clone for CodexAppServerProtocolCombined
Source§fn clone(&self) -> CodexAppServerProtocolCombined
fn clone(&self) -> CodexAppServerProtocolCombined
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CodexAppServerProtocolCombined
impl<'de> Deserialize<'de> for CodexAppServerProtocolCombined
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 From<CodexAppServerProtocolCombined> for Map<String, Value>
impl From<CodexAppServerProtocolCombined> for Map<String, Value>
Source§fn from(value: CodexAppServerProtocolCombined) -> Self
fn from(value: CodexAppServerProtocolCombined) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodexAppServerProtocolCombined
impl RefUnwindSafe for CodexAppServerProtocolCombined
impl Send for CodexAppServerProtocolCombined
impl Sync for CodexAppServerProtocolCombined
impl Unpin for CodexAppServerProtocolCombined
impl UnsafeUnpin for CodexAppServerProtocolCombined
impl UnwindSafe for CodexAppServerProtocolCombined
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