pub struct RpEndpointArgument<F>where
F: Flavor + 'static,{
pub ident: Rc<Loc<String>>,
pub safe_ident: Rc<Option<String>>,
pub channel: Loc<RpChannel<F>>,
}
Expand description
An argument to an endpont.
Fields§
§ident: Rc<Loc<String>>
Identifier of the argument.
safe_ident: Rc<Option<String>>
Safe identifier for the argument.
channel: Loc<RpChannel<F>>
Channel of the argument.
Implementations§
Source§impl<F> RpEndpointArgument<F>where
F: Flavor + 'static,
impl<F> RpEndpointArgument<F>where
F: Flavor + 'static,
Trait Implementations§
Source§impl<F> Clone for RpEndpointArgument<F>
impl<F> Clone for RpEndpointArgument<F>
Source§fn clone(&self) -> RpEndpointArgument<F>
fn clone(&self) -> RpEndpointArgument<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<F> Debug for RpEndpointArgument<F>
impl<F> Debug for RpEndpointArgument<F>
Source§impl<F> PartialEq for RpEndpointArgument<F>
impl<F> PartialEq for RpEndpointArgument<F>
Source§impl<F> Serialize for RpEndpointArgument<F>
impl<F> Serialize for RpEndpointArgument<F>
Source§impl<F, T> Translate<T> for RpEndpointArgument<F>where
F: Flavor + 'static,
T: Translator<Source = F>,
impl<F, T> Translate<T> for RpEndpointArgument<F>where
F: Flavor + 'static,
T: Translator<Source = F>,
Source§fn translate(
self,
diag: &mut Diagnostics,
translator: &T,
) -> Result<RpEndpointArgument<T::Target>>
fn translate( self, diag: &mut Diagnostics, translator: &T, ) -> Result<RpEndpointArgument<T::Target>>
Translate into different flavor.
type Source = F
type Out = RpEndpointArgument<<T as Translator>::Target>
impl<F> Eq for RpEndpointArgument<F>
impl<F> StructuralPartialEq for RpEndpointArgument<F>where
F: Flavor + 'static,
Auto Trait Implementations§
impl<F> Freeze for RpEndpointArgument<F>
impl<F> RefUnwindSafe for RpEndpointArgument<F>
impl<F> !Send for RpEndpointArgument<F>
impl<F> !Sync for RpEndpointArgument<F>
impl<F> Unpin for RpEndpointArgument<F>
impl<F> UnwindSafe for RpEndpointArgument<F>
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