pub enum VersioningStrategy {
RunId,
Timestamp,
GitSha,
Manual,
}Expand description
Strategy for auto-generating versions.
Variants§
RunId
Use run_id from receipt as version
Timestamp
Use timestamp as version
GitSha
Use git_sha as version
Manual
Manual version required
Trait Implementations§
Source§impl Clone for VersioningStrategy
impl Clone for VersioningStrategy
Source§fn clone(&self) -> VersioningStrategy
fn clone(&self) -> VersioningStrategy
Returns a duplicate 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 moreSource§impl Debug for VersioningStrategy
impl Debug for VersioningStrategy
Source§impl Default for VersioningStrategy
impl Default for VersioningStrategy
Source§fn default() -> VersioningStrategy
fn default() -> VersioningStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersioningStrategy
impl<'de> Deserialize<'de> for VersioningStrategy
Source§fn 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
Source§impl JsonSchema for VersioningStrategy
impl JsonSchema for VersioningStrategy
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for VersioningStrategy
impl PartialEq for VersioningStrategy
Source§impl Serialize for VersioningStrategy
impl Serialize for VersioningStrategy
impl Copy for VersioningStrategy
impl Eq for VersioningStrategy
impl StructuralPartialEq for VersioningStrategy
Auto Trait Implementations§
impl Freeze for VersioningStrategy
impl RefUnwindSafe for VersioningStrategy
impl Send for VersioningStrategy
impl Sync for VersioningStrategy
impl Unpin for VersioningStrategy
impl UnsafeUnpin for VersioningStrategy
impl UnwindSafe for VersioningStrategy
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