pub struct ProtocolResourceV1 {
pub schema: String,
pub name: String,
pub schema_sha256: String,
pub value: Value,
}Fields§
§schema: String§name: String§schema_sha256: StringLowercase hex SHA-256 of the canonical JSON of the spec’s resource field schema.
value: ValueImplementations§
Trait Implementations§
Source§impl Clone for ProtocolResourceV1
impl Clone for ProtocolResourceV1
Source§impl Debug for ProtocolResourceV1
impl Debug for ProtocolResourceV1
Source§impl<'de> Deserialize<'de> for ProtocolResourceV1
impl<'de> Deserialize<'de> for ProtocolResourceV1
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 PartialEq for ProtocolResourceV1
impl PartialEq for ProtocolResourceV1
Source§impl Serialize for ProtocolResourceV1
impl Serialize for ProtocolResourceV1
impl StructuralPartialEq for ProtocolResourceV1
Auto Trait Implementations§
impl Freeze for ProtocolResourceV1
impl RefUnwindSafe for ProtocolResourceV1
impl Send for ProtocolResourceV1
impl Sync for ProtocolResourceV1
impl Unpin for ProtocolResourceV1
impl UnsafeUnpin for ProtocolResourceV1
impl UnwindSafe for ProtocolResourceV1
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