Struct hapi_core::instruction::UpdateCase
source · [−]pub struct UpdateCase {
pub name: [u8; 32],
pub status: CaseStatus,
}
Expand description
Instruction.
Fields
name: [u8; 32]
status: CaseStatus
Trait Implementations
sourceimpl BorshDeserialize for UpdateCase where
[u8; 32]: BorshDeserialize,
CaseStatus: BorshDeserialize,
impl BorshDeserialize for UpdateCase where
[u8; 32]: BorshDeserialize,
CaseStatus: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for UpdateCase where
[u8; 32]: BorshSerialize,
CaseStatus: BorshSerialize,
impl BorshSerialize for UpdateCase where
[u8; 32]: BorshSerialize,
CaseStatus: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for UpdateCase
impl Send for UpdateCase
impl Sync for UpdateCase
impl Unpin for UpdateCase
impl UnwindSafe for UpdateCase
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more