pub struct BlockParent {
pub type: String,
pub block_id: String,
}
Expand description
Fields§
§type: String
always “block_id”
block_id: String
Trait Implementations§
Source§impl Clone for BlockParent
impl Clone for BlockParent
Source§fn clone(&self) -> BlockParent
fn clone(&self) -> BlockParent
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 BlockParent
impl Debug for BlockParent
Source§impl Default for BlockParent
impl Default for BlockParent
Source§fn default() -> BlockParent
fn default() -> BlockParent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockParent
impl<'de> Deserialize<'de> for BlockParent
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 From<&str> for BlockParent
impl From<&str> for BlockParent
Source§impl From<String> for BlockParent
impl From<String> for BlockParent
Auto Trait Implementations§
impl Freeze for BlockParent
impl RefUnwindSafe for BlockParent
impl Send for BlockParent
impl Sync for BlockParent
impl Unpin for BlockParent
impl UnwindSafe for BlockParent
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