pub struct Array;Expand description
Placeholder type for array SFields.
Array types in XRPL (like Signers, Memos, etc.) cannot be directly retrieved
as complete values. Instead, they are used within Location to navigate to
specific array elements.
This type implements FieldGetter as a no-op to satisfy the trait bound,
but should not be used to actually retrieve values.
Trait Implementations§
Source§impl LedgerObjectFieldGetter for Array
impl LedgerObjectFieldGetter for Array
Source§fn get_from_current_ledger_obj(_field_code: i32) -> Result<Self>
fn get_from_current_ledger_obj(_field_code: i32) -> Result<Self>
Get a required field from the current ledger object. Read more
Source§fn get_from_ledger_obj(_slot: i32, _field_code: i32) -> Result<Self>
fn get_from_ledger_obj(_slot: i32, _field_code: i32) -> Result<Self>
Get a required field from a specific ledger object. Read more
impl Copy for Array
impl Eq for Array
impl StructuralPartialEq for Array
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
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