pub struct SnapshotSlotResponse {
pub snapshot_slot: u64,
}Expand description
Response of the management /snapshot-slot endpoint. The chosen source and
import state are internal, so only the resolved slot is exposed.
Fields§
§snapshot_slot: u64Trait Implementations§
Source§impl Clone for SnapshotSlotResponse
impl Clone for SnapshotSlotResponse
Source§fn clone(&self) -> SnapshotSlotResponse
fn clone(&self) -> SnapshotSlotResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotSlotResponse
impl Debug for SnapshotSlotResponse
Source§impl<'de> Deserialize<'de> for SnapshotSlotResponse
impl<'de> Deserialize<'de> for SnapshotSlotResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotSlotResponse
impl RefUnwindSafe for SnapshotSlotResponse
impl Send for SnapshotSlotResponse
impl Sync for SnapshotSlotResponse
impl Unpin for SnapshotSlotResponse
impl UnsafeUnpin for SnapshotSlotResponse
impl UnwindSafe for SnapshotSlotResponse
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