pub struct ContextBundle {
pub text: String,
pub manifest: Vec<Attachment>,
}Fields§
§text: String§manifest: Vec<Attachment>Implementations§
Source§impl ContextBundle
impl ContextBundle
pub fn resolve( workspace: &WorkspaceService, refs: &[ContextRef], ) -> Result<Self, WorkspaceError>
Trait Implementations§
Source§impl Debug for ContextBundle
impl Debug for ContextBundle
Auto Trait Implementations§
impl Freeze for ContextBundle
impl RefUnwindSafe for ContextBundle
impl Send for ContextBundle
impl Sync for ContextBundle
impl Unpin for ContextBundle
impl UnsafeUnpin for ContextBundle
impl UnwindSafe for ContextBundle
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