pub struct PubkeyFieldRef {
pub field_name: String,
pub likely_target: Option<String>,
}Expand description
A reference to a pubkey field within a type definition.
Fields§
§field_name: StringThe field name (e.g. “lb_pair”, “owner”).
likely_target: Option<String>Inferred target account type, matched by converting the field name
(or field name stripped of _id/_key suffix) to PascalCase and
comparing against account type names.
Trait Implementations§
Source§impl Clone for PubkeyFieldRef
impl Clone for PubkeyFieldRef
Source§fn clone(&self) -> PubkeyFieldRef
fn clone(&self) -> PubkeyFieldRef
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 PubkeyFieldRef
impl RefUnwindSafe for PubkeyFieldRef
impl Send for PubkeyFieldRef
impl Sync for PubkeyFieldRef
impl Unpin for PubkeyFieldRef
impl UnsafeUnpin for PubkeyFieldRef
impl UnwindSafe for PubkeyFieldRef
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