pub struct Block {
pub uuid: Uuid,
pub panel: Panel,
pub visible: bool,
}Fields§
§uuid: Uuid§panel: Panel§visible: boolImplementations§
Source§impl Block
impl Block
pub fn new(uuid: &Uuid, panel: Panel) -> Self
pub fn apply_action_item_updates( &mut self, update: NormalizedActionItemRequestUpdate, ) -> bool
pub fn update_progress_bar_status( &mut self, construct_did: &ConstructDid, new_status: &ProgressBarStatus, )
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Block
impl<'de> Deserialize<'de> for Block
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 Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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