pub struct TicketRedeemedVariables {
pub channel_id: Option<Id>,
pub issuer_address: Option<Id>,
pub recipient_address: Option<Id>,
}Expand description
GraphQL subscription variables for the ticketRedeemed subscription.
At most one filter field should be set; all None matches every redemption.
Constructed via the From<TicketSelector> impl.
Fields§
§channel_id: Option<Id>§issuer_address: Option<Id>§recipient_address: Option<Id>Trait Implementations§
Source§impl Default for TicketRedeemedVariables
impl Default for TicketRedeemedVariables
Source§fn default() -> TicketRedeemedVariables
fn default() -> TicketRedeemedVariables
Returns the “default value” for a type. Read more
Source§impl From<TicketSelector> for TicketRedeemedVariables
impl From<TicketSelector> for TicketRedeemedVariables
Source§fn from(value: TicketSelector) -> Self
fn from(value: TicketSelector) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TicketRedeemedVariables
impl RefUnwindSafe for TicketRedeemedVariables
impl Send for TicketRedeemedVariables
impl Sync for TicketRedeemedVariables
impl Unpin for TicketRedeemedVariables
impl UnsafeUnpin for TicketRedeemedVariables
impl UnwindSafe for TicketRedeemedVariables
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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