pub struct DeprecatedSetReservationListBuilder {
pub master_edition: Option<Pubkey>,
pub reservation_list: Option<Pubkey>,
pub resource: Option<Pubkey>,
}Fields§
§master_edition: Option<Pubkey>§reservation_list: Option<Pubkey>§resource: Option<Pubkey>Implementations§
Source§impl DeprecatedSetReservationListBuilder
impl DeprecatedSetReservationListBuilder
pub fn new() -> Box<DeprecatedSetReservationListBuilder>
pub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
pub fn reservation_list(&mut self, reservation_list: Pubkey) -> &mut Self
pub fn resource(&mut self, resource: Pubkey) -> &mut Self
pub fn build( &mut self, ) -> Result<Box<DeprecatedSetReservationList>, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for DeprecatedSetReservationListBuilder
impl RefUnwindSafe for DeprecatedSetReservationListBuilder
impl Send for DeprecatedSetReservationListBuilder
impl Sync for DeprecatedSetReservationListBuilder
impl Unpin for DeprecatedSetReservationListBuilder
impl UnsafeUnpin for DeprecatedSetReservationListBuilder
impl UnwindSafe for DeprecatedSetReservationListBuilder
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