pub struct LatestMilestoneResponse {
pub index: u32,
pub timestamp: Option<u32>,
pub milestone_id: Option<String>,
}
Expand description
Returned in StatusResponse
.
Information about the latest milestone.
Fields§
§index: u32
§timestamp: Option<u32>
§milestone_id: Option<String>
Trait Implementations§
Source§impl Clone for LatestMilestoneResponse
impl Clone for LatestMilestoneResponse
Source§fn clone(&self) -> LatestMilestoneResponse
fn clone(&self) -> LatestMilestoneResponse
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 moreSource§impl Debug for LatestMilestoneResponse
impl Debug for LatestMilestoneResponse
Source§impl<'de> Deserialize<'de> for LatestMilestoneResponse
impl<'de> Deserialize<'de> for LatestMilestoneResponse
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
Source§impl PartialEq for LatestMilestoneResponse
impl PartialEq for LatestMilestoneResponse
Source§impl Serialize for LatestMilestoneResponse
impl Serialize for LatestMilestoneResponse
impl Eq for LatestMilestoneResponse
impl StructuralPartialEq for LatestMilestoneResponse
Auto Trait Implementations§
impl Freeze for LatestMilestoneResponse
impl RefUnwindSafe for LatestMilestoneResponse
impl Send for LatestMilestoneResponse
impl Sync for LatestMilestoneResponse
impl Unpin for LatestMilestoneResponse
impl UnwindSafe for LatestMilestoneResponse
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