Struct snarkvm_debug::package::DeployResponse
source · pub struct DeployResponse<N: Network> { /* private fields */ }Implementations§
source§impl<N: Network> DeployResponse<N>
impl<N: Network> DeployResponse<N>
sourcepub const fn new(deployment: Deployment<N>) -> Self
pub const fn new(deployment: Deployment<N>) -> Self
Initializes a new deploy response.
sourcepub const fn deployment(&self) -> &Deployment<N>
pub const fn deployment(&self) -> &Deployment<N>
Returns the program ID.
Trait Implementations§
source§impl<'de, N: Network> Deserialize<'de> for DeployResponse<N>
impl<'de, N: Network> Deserialize<'de> for DeployResponse<N>
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserializes the deploy response from a string or bytes.
Auto Trait Implementations§
impl<N> RefUnwindSafe for DeployResponse<N>where
N: RefUnwindSafe,
<N as Environment>::Field: RefUnwindSafe,
<<N as Environment>::PairingCurve as PairingEngine>::G1Affine: RefUnwindSafe,
<N as Environment>::Projective: RefUnwindSafe,
<N as Environment>::Scalar: RefUnwindSafe,
impl<N> Send for DeployResponse<N>
impl<N> Sync for DeployResponse<N>
impl<N> Unpin for DeployResponse<N>where
N: Unpin,
<N as Environment>::Field: Unpin,
<<N as Environment>::PairingCurve as PairingEngine>::G1Affine: Unpin,
<N as Environment>::Projective: Unpin,
<N as Environment>::Scalar: Unpin,
impl<N> UnwindSafe for DeployResponse<N>where
N: UnwindSafe,
<N as Environment>::Field: UnwindSafe,
<<N as Environment>::PairingCurve as PairingEngine>::G1Affine: UnwindSafe + RefUnwindSafe,
<N as Environment>::Projective: UnwindSafe,
<N as Environment>::Scalar: UnwindSafe,
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