pub struct Blocks {
pub main: Option<Block>,
pub body: Option<Vec<Block>>,
pub total_body_blocks: Option<i32>,
pub requested_body_blocks: Option<BTreeMap<String, Vec<Block>>>,
}Fields§
§main: Option<Block>§body: Option<Vec<Block>>§total_body_blocks: Option<i32>§requested_body_blocks: Option<BTreeMap<String, Vec<Block>>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Blocks
impl<'de> Deserialize<'de> for Blocks
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 Blocks
impl RefUnwindSafe for Blocks
impl Send for Blocks
impl Sync for Blocks
impl Unpin for Blocks
impl UnsafeUnpin for Blocks
impl UnwindSafe for Blocks
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