pub struct FragmentInstance {
pub id: String,
pub slot: String,
pub format: String,
pub priority: i32,
pub declaration: FragmentDeclaration,
pub sanitized_source: String,
}Fields§
§id: String§slot: String§format: String§priority: i32§declaration: FragmentDeclaration§sanitized_source: StringImplementations§
Source§impl FragmentInstance
impl FragmentInstance
pub fn get_content(&self, data: &Value) -> FragmentResult
pub fn get_events(&self) -> Vec<FragmentEvent>
Trait Implementations§
Source§impl Clone for FragmentInstance
impl Clone for FragmentInstance
Source§fn clone(&self) -> FragmentInstance
fn clone(&self) -> FragmentInstance
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 moreAuto Trait Implementations§
impl Freeze for FragmentInstance
impl RefUnwindSafe for FragmentInstance
impl Send for FragmentInstance
impl Sync for FragmentInstance
impl Unpin for FragmentInstance
impl UnsafeUnpin for FragmentInstance
impl UnwindSafe for FragmentInstance
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