pub struct CreateWithOrganisation {
pub topic_: String,
pub applications_deadline: i32,
pub voting_deadline: i32,
pub organisation: Pubkey,
}Expand description
Instruction.
Fields§
§topic_: String§applications_deadline: i32§voting_deadline: i32§organisation: PubkeyTrait Implementations§
Auto Trait Implementations§
impl Freeze for CreateWithOrganisation
impl RefUnwindSafe for CreateWithOrganisation
impl Send for CreateWithOrganisation
impl Sync for CreateWithOrganisation
impl Unpin for CreateWithOrganisation
impl UnwindSafe for CreateWithOrganisation
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