pub struct Branch { /* private fields */ }Expand description
Implementations§
Source§impl Branch
impl Branch
pub fn new(subtype: String, branch: Box<dyn Serializable>) -> Branch
Sourcepub fn extract<T: Serializable + Deserializable>(
&mut self,
) -> Result<Collection<T>, Box<dyn Error>>
pub fn extract<T: Serializable + Deserializable>( &mut self, ) -> Result<Collection<T>, Box<dyn Error>>
Returns a Collection of the specified subtype from the Branch
Trait Implementations§
Source§impl Deserializable for Branch
impl Deserializable for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl !RefUnwindSafe for Branch
impl !Send for Branch
impl !Sync for Branch
impl Unpin for Branch
impl !UnwindSafe for Branch
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