[−][src]Struct async_graphql::SubscribeBuilder
Subscribe builder
Methods
impl<'a, Subscription> SubscribeBuilder<'a, Subscription> where
Subscription: SubscriptionType,
[src][−]
Subscription: SubscriptionType,
pub fn operator_name(self, name: &'a str) -> Self
[src][−]
Specify the operation name.
pub fn variables(self, vars: Variables) -> Self
[src][−]
Specify the variables.
pub fn execute(self) -> Result<Subscribe>
[src][−]
Perform a subscription operation and return Subscribe
.
Auto Trait Implementations
impl<'a, Subscription> !RefUnwindSafe for SubscribeBuilder<'a, Subscription>
impl<'a, Subscription> Send for SubscribeBuilder<'a, Subscription> where
Subscription: Sync,
Subscription: Sync,
impl<'a, Subscription> Sync for SubscribeBuilder<'a, Subscription> where
Subscription: Sync,
Subscription: Sync,
impl<'a, Subscription> Unpin for SubscribeBuilder<'a, Subscription>
impl<'a, Subscription> !UnwindSafe for SubscribeBuilder<'a, Subscription>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,