Struct bsp_types::BuildTargetEvent
source · [−]pub struct BuildTargetEvent {
pub target: BuildTargetIdentifier,
pub kind: Option<BuildTargetEventKind>,
pub data: Option<Value>,
}Fields
target: BuildTargetIdentifierThe identifier for the changed build target.
kind: Option<BuildTargetEventKind>The kind of change for this build target.
data: Option<Value>Any additional metadata about what information changed.
Implementations
sourceimpl BuildTargetEvent
impl BuildTargetEvent
pub fn new(
target: BuildTargetIdentifier,
kind: Option<BuildTargetEventKind>,
data: Option<Value>
) -> Self
pub fn new_simple(target: BuildTargetIdentifier) -> Self
Trait Implementations
sourceimpl Clone for BuildTargetEvent
impl Clone for BuildTargetEvent
sourcefn clone(&self) -> BuildTargetEvent
fn clone(&self) -> BuildTargetEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BuildTargetEvent
impl Debug for BuildTargetEvent
sourceimpl<'de> Deserialize<'de> for BuildTargetEvent
impl<'de> Deserialize<'de> for BuildTargetEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for BuildTargetEvent
impl Serialize for BuildTargetEvent
Auto Trait Implementations
impl RefUnwindSafe for BuildTargetEvent
impl Send for BuildTargetEvent
impl Sync for BuildTargetEvent
impl Unpin for BuildTargetEvent
impl UnwindSafe for BuildTargetEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more