pub struct ConnectionNew {
pub connection: Pubkey,
pub user: Pubkey,
pub from_profile: Pubkey,
pub to_profile: Pubkey,
pub timestamp: i64,
}
Fields§
§connection: Pubkey
§user: Pubkey
§from_profile: Pubkey
§to_profile: Pubkey
§timestamp: i64
Trait Implementations§
Source§impl BorshDeserialize for ConnectionNew
impl BorshDeserialize for ConnectionNew
Source§impl BorshSerialize for ConnectionNew
impl BorshSerialize for ConnectionNew
Source§impl Discriminator for ConnectionNew
impl Discriminator for ConnectionNew
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for ConnectionNew
impl RefUnwindSafe for ConnectionNew
impl Send for ConnectionNew
impl Sync for ConnectionNew
impl Unpin for ConnectionNew
impl UnwindSafe for ConnectionNew
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> 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