Struct buildsrs_database::entity::Builder
pub struct Builder {
pub uuid: Uuid,
pub public_key: PublicKey,
pub comment: String,
pub enabled: bool,
}
Expand description
Builder that is registered in the database
Fields§
§uuid: Uuid
UUID of this builder
public_key: PublicKey
Public key this builder uses to sign messages and artifacts
comment: String
Comment
enabled: bool
Enabled state
Trait Implementations§
§impl<'de> Deserialize<'de> for Builder
impl<'de> Deserialize<'de> for Builder
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Builder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Builder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Builder
impl Serialize for Builder
§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 Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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