pub struct FunctionVersion {
pub id: String,
pub component: String,
pub created: u64,
pub lifecycle: Lifecycle,
}Expand description
One immutable version of a function.
Fields§
§id: StringImmutable content-hash id.
component: StringThe component blob hash.
created: u64Unix creation time.
lifecycle: LifecycleThis version’s lifecycle.
Trait Implementations§
Source§impl Clone for FunctionVersion
impl Clone for FunctionVersion
Source§fn clone(&self) -> FunctionVersion
fn clone(&self) -> FunctionVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionVersion
impl Debug for FunctionVersion
Source§impl<'de> Deserialize<'de> for FunctionVersion
impl<'de> Deserialize<'de> for FunctionVersion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FunctionVersion
Source§impl PartialEq for FunctionVersion
impl PartialEq for FunctionVersion
Source§impl Serialize for FunctionVersion
impl Serialize for FunctionVersion
Source§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
impl StructuralPartialEq for FunctionVersion
Auto Trait Implementations§
impl Freeze for FunctionVersion
impl RefUnwindSafe for FunctionVersion
impl Send for FunctionVersion
impl Sync for FunctionVersion
impl Unpin for FunctionVersion
impl UnsafeUnpin for FunctionVersion
impl UnwindSafe for FunctionVersion
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.