Enum buildsrs_database::entity::ArtifactData
pub enum ArtifactData {
Data {
bytes: Bytes,
},
Redirect {
validity: Duration,
url: Url,
},
}
Expand description
Data of artifact
Variants§
Implementations§
§impl ArtifactData
impl ArtifactData
Trait Implementations§
§impl Clone for ArtifactData
impl Clone for ArtifactData
§fn clone(&self) -> ArtifactData
fn clone(&self) -> ArtifactData
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 ArtifactData
impl Debug for ArtifactData
§impl<'de> Deserialize<'de> for ArtifactData
impl<'de> Deserialize<'de> for ArtifactData
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ArtifactData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ArtifactData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ArtifactData
impl Serialize for ArtifactData
§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 ArtifactData
impl Send for ArtifactData
impl Sync for ArtifactData
impl Unpin for ArtifactData
impl UnwindSafe for ArtifactData
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