pub struct CatalogNegotiatedContract {
pub granted_capabilities: Vec<CatalogCapability>,
pub runtime_protocol_version: i64,
}Expand description
The protocol version and capability set the runtime actually honoured for a successful catalog operation.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§granted_capabilities: Vec<CatalogCapability>Wire features the runtime understood for this operation. Always a superset of the caller’s required features, because any shortfall is a refusal instead. Operation availability remains a separate typed result.
runtime_protocol_version: i64Protocol version of the runtime that served the request.
Trait Implementations§
Source§impl Clone for CatalogNegotiatedContract
impl Clone for CatalogNegotiatedContract
Source§fn clone(&self) -> CatalogNegotiatedContract
fn clone(&self) -> CatalogNegotiatedContract
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 Debug for CatalogNegotiatedContract
impl Debug for CatalogNegotiatedContract
Source§impl Default for CatalogNegotiatedContract
impl Default for CatalogNegotiatedContract
Source§fn default() -> CatalogNegotiatedContract
fn default() -> CatalogNegotiatedContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogNegotiatedContract
impl<'de> Deserialize<'de> for CatalogNegotiatedContract
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
Auto Trait Implementations§
impl Freeze for CatalogNegotiatedContract
impl RefUnwindSafe for CatalogNegotiatedContract
impl Send for CatalogNegotiatedContract
impl Sync for CatalogNegotiatedContract
impl Unpin for CatalogNegotiatedContract
impl UnsafeUnpin for CatalogNegotiatedContract
impl UnwindSafe for CatalogNegotiatedContract
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