pub struct HostedManagedProgramReleaseV1 {
pub schema: String,
pub release_profile: String,
pub program_id: String,
pub program_spec_hash: HashId<ProgramSpec>,
pub idl_content_hash: HashId<IdlContent>,
pub normalized_idl_hash: HashId<IdlNormalized>,
pub decoder_abi_version: String,
pub decoder_engine_id: String,
pub decoder_binding_id: String,
}Fields§
§schema: String§release_profile: String§program_id: String§program_spec_hash: HashId<ProgramSpec>§idl_content_hash: HashId<IdlContent>§normalized_idl_hash: HashId<IdlNormalized>§decoder_abi_version: String§decoder_engine_id: String§decoder_binding_id: StringImplementations§
Source§impl HostedManagedProgramReleaseV1
impl HostedManagedProgramReleaseV1
pub fn new( program_id: impl Into<String>, program_spec_hash: HashId<ProgramSpec>, idl_content_hash: HashId<IdlContent>, normalized_idl_hash: HashId<IdlNormalized>, decoder_abi_version: impl Into<String>, decoder_engine_id: impl Into<String>, decoder_binding_id: impl Into<String>, ) -> Self
pub fn hash(&self) -> Result<HashId<ProgramRelease>, HashError>
Trait Implementations§
Source§impl Clone for HostedManagedProgramReleaseV1
impl Clone for HostedManagedProgramReleaseV1
Source§fn clone(&self) -> HostedManagedProgramReleaseV1
fn clone(&self) -> HostedManagedProgramReleaseV1
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 HostedManagedProgramReleaseV1
impl<'de> Deserialize<'de> for HostedManagedProgramReleaseV1
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 HostedManagedProgramReleaseV1
impl RefUnwindSafe for HostedManagedProgramReleaseV1
impl Send for HostedManagedProgramReleaseV1
impl Sync for HostedManagedProgramReleaseV1
impl Unpin for HostedManagedProgramReleaseV1
impl UnsafeUnpin for HostedManagedProgramReleaseV1
impl UnwindSafe for HostedManagedProgramReleaseV1
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