pub struct TreasuryResponse {
pub milestone_id: String,
pub amount: String,
}Expand description
Response of GET /api/core/v2/treasury. Returns all information about the treasury.
Fields§
§milestone_id: String§amount: StringTrait Implementations§
Source§impl Clone for TreasuryResponse
impl Clone for TreasuryResponse
Source§fn clone(&self) -> TreasuryResponse
fn clone(&self) -> TreasuryResponse
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 TreasuryResponse
impl Debug for TreasuryResponse
Source§impl<'de> Deserialize<'de> for TreasuryResponse
impl<'de> Deserialize<'de> for TreasuryResponse
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 IntoResponse for TreasuryResponse
impl IntoResponse for TreasuryResponse
Source§fn into_response(self) -> Response<BoxBody>
fn into_response(self) -> Response<BoxBody>
Create a response.
Source§impl PartialEq for TreasuryResponse
impl PartialEq for TreasuryResponse
Source§impl Serialize for TreasuryResponse
impl Serialize for TreasuryResponse
impl Eq for TreasuryResponse
impl StructuralPartialEq for TreasuryResponse
Auto Trait Implementations§
impl Freeze for TreasuryResponse
impl RefUnwindSafe for TreasuryResponse
impl Send for TreasuryResponse
impl Sync for TreasuryResponse
impl Unpin for TreasuryResponse
impl UnwindSafe for TreasuryResponse
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