Struct rustshop_env::EnvAccountRef
source · [−]pub struct EnvAccountRef<'env> {
pub shop: &'env ShopAccountCfg,
pub user: &'env UserAccountCfg,
}
Fields
shop: &'env ShopAccountCfg
user: &'env UserAccountCfg
Implementations
sourceimpl<'env> EnvAccountRef<'env>
impl<'env> EnvAccountRef<'env>
pub fn get_cluster_ref_opt(
&self,
name: &str
) -> EnvResult<Option<EnvClusterRef<'_>>>
pub fn get_cluster_ref(&self, name: &str) -> EnvResult<EnvClusterRef<'_>>
Trait Implementations
sourceimpl<'env> Clone for EnvAccountRef<'env>
impl<'env> Clone for EnvAccountRef<'env>
sourcefn clone(&self) -> EnvAccountRef<'env>
fn clone(&self) -> EnvAccountRef<'env>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'env> Debug for EnvAccountRef<'env>
impl<'env> Debug for EnvAccountRef<'env>
sourceimpl<'env> From<EnvAccountRef<'env>> for AccountCfg
impl<'env> From<EnvAccountRef<'env>> for AccountCfg
sourcefn from(acc: EnvAccountRef<'_>) -> Self
fn from(acc: EnvAccountRef<'_>) -> Self
Converts to this type from the input type.
impl<'env> Copy for EnvAccountRef<'env>
Auto Trait Implementations
impl<'env> RefUnwindSafe for EnvAccountRef<'env>
impl<'env> Send for EnvAccountRef<'env>
impl<'env> Sync for EnvAccountRef<'env>
impl<'env> Unpin for EnvAccountRef<'env>
impl<'env> UnwindSafe for EnvAccountRef<'env>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more