pub struct DynamicUpdateBundle { /* private fields */ }Expand description
Atomic multi-target update manifest delivering component-level and page-level updates together.
Implementations§
Source§impl DynamicUpdateBundle
Builder and JSON manifest helpers for DynamicUpdateBundle.
impl DynamicUpdateBundle
Builder and JSON manifest helpers for DynamicUpdateBundle.
Sourcepub fn push_component(self, update: DynamicComponentUpdate) -> Self
pub fn push_component(self, update: DynamicComponentUpdate) -> Self
Sourcepub fn push_page(self, update: DynamicPageUpdate) -> Self
pub fn push_page(self, update: DynamicPageUpdate) -> Self
Sourcepub fn to_json(&self) -> Result<String, DynamicUpdateError>
pub fn to_json(&self) -> Result<String, DynamicUpdateError>
Source§impl DynamicUpdateBundle
impl DynamicUpdateBundle
pub fn get_bundle_id(&self) -> &String
pub fn get_mut_bundle_id(&mut self) -> &mut String
pub fn set_bundle_id(&mut self, val: String) -> &mut Self
pub fn get_version(&self) -> u64
pub fn get_mut_version(&mut self) -> &mut u64
pub fn set_version(&mut self, val: u64) -> &mut Self
pub fn get_components(&self) -> &Vec<DynamicComponentUpdate>
pub fn get_mut_components(&mut self) -> &mut Vec<DynamicComponentUpdate>
pub fn set_components(&mut self, val: Vec<DynamicComponentUpdate>) -> &mut Self
pub fn get_pages(&self) -> &Vec<DynamicPageUpdate>
pub fn get_mut_pages(&mut self) -> &mut Vec<DynamicPageUpdate>
pub fn set_pages(&mut self, val: Vec<DynamicPageUpdate>) -> &mut Self
Trait Implementations§
Source§impl Clone for DynamicUpdateBundle
impl Clone for DynamicUpdateBundle
Source§impl Debug for DynamicUpdateBundle
impl Debug for DynamicUpdateBundle
Source§impl Default for DynamicUpdateBundle
impl Default for DynamicUpdateBundle
Source§impl<'de> Deserialize<'de> for DynamicUpdateBundle
impl<'de> Deserialize<'de> for DynamicUpdateBundle
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 PartialEq for DynamicUpdateBundle
impl PartialEq for DynamicUpdateBundle
Source§impl Serialize for DynamicUpdateBundle
impl Serialize for DynamicUpdateBundle
impl StructuralPartialEq for DynamicUpdateBundle
Auto Trait Implementations§
impl Forget for DynamicUpdateBundle
impl Freeze for DynamicUpdateBundle
impl Move for DynamicUpdateBundle
impl RefUnwindSafe for DynamicUpdateBundle
impl Send for DynamicUpdateBundle
impl Sync for DynamicUpdateBundle
impl Unpin for DynamicUpdateBundle
impl UnsafeUnpin for DynamicUpdateBundle
impl UnwindSafe for DynamicUpdateBundle
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