pub struct PodInfo {
pub pod_npub: String,
pub namespace: String,
pub created_at: DateTime<Utc>,
pub expires_at: DateTime<Utc>,
pub allocated_port: u16,
pub ssh_username: String,
pub ssh_password: String,
pub payment_amount_msats: u64,
pub duration_seconds: u64,
pub node_port: Option<u16>,
pub nostr_public_key: String,
pub nostr_private_key: String,
}Fields§
§pod_npub: String§namespace: String§created_at: DateTime<Utc>§expires_at: DateTime<Utc>§allocated_port: u16§ssh_username: String§ssh_password: String§payment_amount_msats: u64§duration_seconds: u64§node_port: Option<u16>§nostr_public_key: String§nostr_private_key: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for PodInfo
impl RefUnwindSafe for PodInfo
impl Send for PodInfo
impl Sync for PodInfo
impl Unpin for PodInfo
impl UnsafeUnpin for PodInfo
impl UnwindSafe for PodInfo
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more