pub struct SourceCtx {
pub instance: InstanceId,
pub workspace: String,
pub environment: String,
pub revision: u32,
pub config: Value,
}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.
config: ValueWhat the instance’s binding tells the source (e.g. which branch), merged over the
workspace’s config for it: null when neither sets any.
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