pub struct Response<AppState> {
pub genesis: Genesis<AppState>,
}Expand description
Block responses
Fields§
§genesis: Genesis<AppState>Genesis data
Trait Implementations§
Source§impl<'de, AppState> Deserialize<'de> for Response<AppState>where
AppState: Deserialize<'de>,
impl<'de, AppState> Deserialize<'de> for Response<AppState>where
AppState: Deserialize<'de>,
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<AppState> Freeze for Response<AppState>where
AppState: Freeze,
impl<AppState> RefUnwindSafe for Response<AppState>where
AppState: RefUnwindSafe,
impl<AppState> Send for Response<AppState>where
AppState: Send,
impl<AppState> Sync for Response<AppState>where
AppState: Sync,
impl<AppState> Unpin for Response<AppState>where
AppState: Unpin,
impl<AppState> UnwindSafe for Response<AppState>where
AppState: UnwindSafe,
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