Skip to main content

Post

Trait Post 

Source
pub trait Post {
    type Response: Value;

    // Required method
    fn send(
        self,
    ) -> impl Future<Output = Result<Self::Response, Error>> + Send + Sync;
}
Expand description

A trait defining the response and send future for HTTP POSTs

Required Associated Types§

Source

type Response: Value

The deserialized response from the Freedom API after a successful POST

Required Methods§

Source

fn send( self, ) -> impl Future<Output = Result<Self::Response, Error>> + Send + Sync

The future used to send the POST

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<C> Post for BandDetailsBuilder<'_, C, BandDetails>
where C: Api,

Source§

impl<C> Post for OverrideBuilder<'_, C, Override>
where C: Api,

Source§

impl<C> Post for SatelliteBuilder<'_, C, Satellite>
where C: Api,

Source§

impl<C> Post for SatelliteConfigurationBuilder<'_, C, SatelliteConfiguration>
where C: Api,

Source§

impl<C> Post for UserBuilder<'_, C, User>
where C: Api,