pub struct AuraEvent {
pub start_ms: u32,
pub end_ms: Option<u32>,
pub aura_slug: String,
pub source: String,
pub target_id: u32,
pub source_kind: i32,
pub source_id: u32,
pub affected_kind: i32,
pub affected_id: u32,
pub pull_id: Option<u32>,
pub group_id: Option<u32>,
}Expand description
One aura interval; end_ms == None for open-ended intervals.
Fields§
§start_ms: u32§end_ms: Option<u32>§aura_slug: String§source: String§target_id: u32§source_kind: i32§source_id: u32§affected_kind: i32§affected_id: u32§pull_id: Option<u32>§group_id: Option<u32>Trait Implementations§
Source§impl IntoWasmAbi for &AuraEvent
impl IntoWasmAbi for &AuraEvent
Source§impl IntoWasmAbi for AuraEvent
impl IntoWasmAbi for AuraEvent
Source§impl OptionIntoWasmAbi for AuraEvent
impl OptionIntoWasmAbi for AuraEvent
Source§impl Tsify for AuraEvent
impl Tsify for AuraEvent
const DECL: &'static str = "/**\n * One aura interval; `end_ms == None` for open-ended intervals.\n */\nexport interface AuraEvent {\n startMs: number;\n endMs: number | undefined;\n auraSlug: string;\n source: string;\n targetId: number;\n sourceKind: number;\n sourceId: number;\n affectedKind: number;\n affectedId: number;\n pullId: number | undefined;\n groupId: number | undefined;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Source§impl VectorIntoWasmAbi for AuraEvent
impl VectorIntoWasmAbi for AuraEvent
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for AuraEvent
impl WasmDescribeVector for AuraEvent
Auto Trait Implementations§
impl Freeze for AuraEvent
impl RefUnwindSafe for AuraEvent
impl Send for AuraEvent
impl Sync for AuraEvent
impl Unpin for AuraEvent
impl UnsafeUnpin for AuraEvent
impl UnwindSafe for AuraEvent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.