pub struct StateField {
pub name: String,
pub ty: SolanaType,
pub is_public: bool,
}Expand description
A field in the state account
Fields§
§name: String§ty: SolanaType§is_public: boolTrait Implementations§
Source§impl Clone for StateField
impl Clone for StateField
Source§fn clone(&self) -> StateField
fn clone(&self) -> StateField
Returns a duplicate of the value. Read more
1.0.0 · 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 StateField
impl RefUnwindSafe for StateField
impl Send for StateField
impl Sync for StateField
impl Unpin for StateField
impl UnwindSafe for StateField
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