pub struct SourceCtx {
pub instance: InstanceId,
pub workspace: String,
pub environment: String,
pub revision: u32,
}Expand description
What a source is asked for.
Fields§
§instance: InstanceIdThe instance.
workspace: StringIts workspace’s name.
environment: StringIts environment’s name.
revision: u32The revision it runs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceCtx
impl RefUnwindSafe for SourceCtx
impl Send for SourceCtx
impl Sync for SourceCtx
impl Unpin for SourceCtx
impl UnsafeUnpin for SourceCtx
impl UnwindSafe for SourceCtx
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