pub struct WorldWire {
pub auth: Option<String>,
pub name: Option<String>,
pub path: Option<String>,
pub protocol: Option<String>,
pub spec: Option<String>,
}Fields§
§auth: Option<String>Auth states what the wire asks of the caller, including which parts of it answer without a token.
name: Option<String>Name is the wire’s short id — rest, mcp or zap.
path: Option<String>Path is the address the wire answers on, under this same origin.
protocol: Option<String>Protocol names what the wire speaks, so a caller knows which client to point at it.
spec: Option<String>Spec is where this wire’s operations are enumerated, when they are enumerated in a document at all. Empty for a wire that describes itself over its own protocol.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorldWire
impl<'de> Deserialize<'de> for WorldWire
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 StructuralPartialEq for WorldWire
Auto Trait Implementations§
impl Freeze for WorldWire
impl RefUnwindSafe for WorldWire
impl Send for WorldWire
impl Sync for WorldWire
impl Unpin for WorldWire
impl UnsafeUnpin for WorldWire
impl UnwindSafe for WorldWire
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