pub struct Secrets<'a> { /* private fields */ }
Expand description
A struct representing the secrets used by an
Activity
Note that all methods return Self
, and can be chained
for fluency
Implementations§
Trait Implementations§
§impl<'a> Ord for Secrets<'a>
impl<'a> Ord for Secrets<'a>
§impl<'a> PartialEq<Secrets<'a>> for Secrets<'a>
impl<'a> PartialEq<Secrets<'a>> for Secrets<'a>
§impl<'a> PartialOrd<Secrets<'a>> for Secrets<'a>
impl<'a> PartialOrd<Secrets<'a>> for Secrets<'a>
§fn partial_cmp(&self, other: &Secrets<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Secrets<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more§impl<'a> Serialize for Secrets<'a>
impl<'a> Serialize for Secrets<'a>
§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<'a> Copy for Secrets<'a>
impl<'a> Eq for Secrets<'a>
impl<'a> StructuralEq for Secrets<'a>
impl<'a> StructuralPartialEq for Secrets<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Secrets<'a>
impl<'a> Send for Secrets<'a>
impl<'a> Sync for Secrets<'a>
impl<'a> Unpin for Secrets<'a>
impl<'a> UnwindSafe for Secrets<'a>
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.