Struct buildsrs_database::entity::TargetInfo
pub struct TargetInfo {
pub name: String,
pub enabled: bool,
}
Expand description
Target that can be built
Fields§
§name: String
Name of this target
enabled: bool
Enabled status
Trait Implementations§
§impl Clone for TargetInfo
impl Clone for TargetInfo
§fn clone(&self) -> TargetInfo
fn clone(&self) -> TargetInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for TargetInfo
impl Debug for TargetInfo
§impl<'de> Deserialize<'de> for TargetInfo
impl<'de> Deserialize<'de> for TargetInfo
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TargetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TargetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for TargetInfo
impl Serialize for TargetInfo
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin for TargetInfo
impl UnwindSafe for TargetInfo
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