pub struct Object;Expand description
Placeholder type for object SFields.
Object types in XRPL (like Memo, SignerEntry, etc.) cannot be directly retrieved
as complete values. Instead, they are used within Location to navigate to
specific object fields.
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 Object
impl LedgerObjectFieldGetter for Object
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 Object
impl Eq for Object
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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