[][src]Function cynic::selection_set::option

pub fn option<'a, DecodesTo, TypeLock>(
    inner_selection: SelectionSet<'a, DecodesTo, TypeLock>
) -> SelectionSet<'a, Option<DecodesTo>, TypeLock> where
    DecodesTo: 'a + Send + Sync

Creates a SelectionSet that decodes a nullable into an Option