Struct proto_pdk::ResolveVersionOutput
source · pub struct ResolveVersionOutput {
pub candidate: Option<String>,
pub version: Option<String>,
}
Expand description
Output returned by the resolve_version
function.
Fields§
§candidate: Option<String>
New alias or version candidate to resolve.
version: Option<String>
An explicitly resolved version to be used as-is. Note: Only use this field if you know what you’re doing!
Trait Implementations§
source§impl Clone for ResolveVersionOutput
impl Clone for ResolveVersionOutput
source§fn clone(&self) -> ResolveVersionOutput
fn clone(&self) -> ResolveVersionOutput
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 moresource§impl Debug for ResolveVersionOutput
impl Debug for ResolveVersionOutput
source§impl Default for ResolveVersionOutput
impl Default for ResolveVersionOutput
source§fn default() -> ResolveVersionOutput
fn default() -> ResolveVersionOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResolveVersionOutputwhere
ResolveVersionOutput: Default,
impl<'de> Deserialize<'de> for ResolveVersionOutputwhere ResolveVersionOutput: Default,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ResolveVersionOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ResolveVersionOutput, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ResolveVersionOutput> for ResolveVersionOutput
impl PartialEq<ResolveVersionOutput> for ResolveVersionOutput
source§fn eq(&self, other: &ResolveVersionOutput) -> bool
fn eq(&self, other: &ResolveVersionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResolveVersionOutput
impl Serialize for ResolveVersionOutput
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 Eq for ResolveVersionOutput
impl StructuralEq for ResolveVersionOutput
impl StructuralPartialEq for ResolveVersionOutput
Auto Trait Implementations§
impl RefUnwindSafe for ResolveVersionOutput
impl Send for ResolveVersionOutput
impl Sync for ResolveVersionOutput
impl Unpin for ResolveVersionOutput
impl UnwindSafe for ResolveVersionOutput
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more