pub struct OssProgramIdentityV1 {
pub program_spec: ProgramSpecV1,
pub program_spec_hash: HashId<ProgramSpec>,
pub release: OssGeneratedProgramReleaseV1,
pub release_hash: HashId<ProgramRelease>,
}Fields§
§program_spec: ProgramSpecV1§program_spec_hash: HashId<ProgramSpec>§release: OssGeneratedProgramReleaseV1§release_hash: HashId<ProgramRelease>Implementations§
Source§impl OssProgramIdentityV1
impl OssProgramIdentityV1
pub fn new(program_spec: ProgramSpecV1) -> Result<Self, HashError>
pub fn from_document(document: &CanonicalIdlDocument) -> Result<Self, HashError>
Trait Implementations§
Source§impl Clone for OssProgramIdentityV1
impl Clone for OssProgramIdentityV1
Source§fn clone(&self) -> OssProgramIdentityV1
fn clone(&self) -> OssProgramIdentityV1
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 moreAuto Trait Implementations§
impl Freeze for OssProgramIdentityV1
impl RefUnwindSafe for OssProgramIdentityV1
impl Send for OssProgramIdentityV1
impl Sync for OssProgramIdentityV1
impl Unpin for OssProgramIdentityV1
impl UnsafeUnpin for OssProgramIdentityV1
impl UnwindSafe for OssProgramIdentityV1
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