pub struct SourceStatus {
pub name: String,
pub schedule: String,
pub function: String,
pub enabled: bool,
pub cursor_name: String,
pub run_as: RunAsStatus,
pub cursor: CursorStatus,
}Expand description
One source’s full status: its static definition plus its durable cursor.
Fields§
§name: StringThe source name (also the cursor key the runtime advances under).
schedule: StringThe cron schedule the source fires on.
function: StringThe connector function the source runs.
enabled: boolWhether the source is enabled (a disabled source is compiled but not scheduled).
cursor_name: StringThe declared cursor name. Equal to name unless an explicit cursor was set.
run_as: RunAsStatusThe run_as authority ceiling.
cursor: CursorStatusThe durable cursor state.
Trait Implementations§
Source§impl Debug for SourceStatus
impl Debug for SourceStatus
Auto Trait Implementations§
impl Freeze for SourceStatus
impl RefUnwindSafe for SourceStatus
impl Send for SourceStatus
impl Sync for SourceStatus
impl Unpin for SourceStatus
impl UnsafeUnpin for SourceStatus
impl UnwindSafe for SourceStatus
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more