Struct GSAAPI

Source
pub struct GSAAPI<T: Transport> { /* private fields */ }

Implementations§

Source§

impl<T: Transport> GSAAPI<T>

Source

pub fn new(transport: T) -> Self

Creates a new RPC client backed by the given transport implementation.

Source

pub fn createUser( &mut self, userRole: UserRole, email: Email, userFirst: UserFirst, userLast: UserLast, userStreet: UserStreet, userCity: UserStreet, userState: UserState, userZipcode: UserZipcode, userCountry: UserCountry, userPhone: UserPhone, userCompany: UserCompany, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn createPassResetPin( &mut self, email: Email, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn setNewPassword( &mut self, email: Email, resetPIN: ResetPIN, password: Password, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn adminLogin( &mut self, email: Email, password: Password, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn getUsers( &mut self, JWTtoken: JWTtoken, email: Email, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn getSubscriptions( &mut self, JWTtoken: JWTtoken, email: Email, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn addSubscription( &mut self, JWTtoken: JWTtoken, email: Email, subType: SubType, subCost: SubCost, subFreq: SubFreq, subStart: SubStart, subRenew: SubRenew, sellerID: SellerID, employeeID: EmployeeID, deviceESN: DeviceESN, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn updateSubscriptionInfo( &mut self, JWTtoken: JWTtoken, email: Email, deviceESN: DeviceESN, columns: Columns, columndata: Columndata, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn addDevice( &mut self, JWTtoken: JWTtoken, email: Email, deviceESN: DeviceESN, deviceType: DeviceType, simiccid: Simiccid, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn getDevices( &mut self, JWTtoken: JWTtoken, email: Email, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn updateDeviceInfo( &mut self, JWTtoken: JWTtoken, email: Email, deviceESN: DeviceESN, columns: Columns, columndata: Columndata, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn podGetUsers( &mut self, JWTtoken: JWTtoken, email: Email, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn podGetSimInfo( &mut self, JWTtoken: JWTtoken, email: Email, simiccid: Simiccid, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn podTurnOnSim( &mut self, JWTtoken: JWTtoken, email: Email, simiccid: Simiccid, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn podSuspendSim( &mut self, JWTtoken: JWTtoken, email: Email, simiccid: Simiccid, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn podUnsuspendSim( &mut self, JWTtoken: JWTtoken, email: Email, simiccid: Simiccid, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn pulsGetDevice( &mut self, JWTtoken: JWTtoken, email: Email, deviceESN: DeviceESN, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn pulsChangeDeviceGroup( &mut self, JWTtoken: JWTtoken, email: Email, deviceESN: DeviceESN, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn authGetCustomerProfile( &mut self, JWTtoken: JWTtoken, email: Email, anetProfileId: AnetProfileId, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn createCustomerPaymentProfile( &mut self, JWTtoken: JWTtoken, email: Email, anetProfileId: AnetProfileId, userFirst: UserFirst, userLast: UserLast, userStreet: UserStreet, userCity: UserStreet, userState: UserState, userZipcode: UserZipcode, userCountry: UserCountry, userPhone: UserPhone, ccNumber: CcNumber, ccExp: CcExp, ccCVC: CcCVC, ) -> RpcRequest<StringDoaGddGA, T::Future>

Source

pub fn deleteCustomerPaymentProfile( &mut self, JWTtoken: JWTtoken, email: Email, anetProfileId: AnetProfileId, paymentProfileId: PaymentProfileId, ) -> RpcRequest<StringDoaGddGA, T::Future>

Auto Trait Implementations§

§

impl<T> Freeze for GSAAPI<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for GSAAPI<T>
where T: RefUnwindSafe,

§

impl<T> Send for GSAAPI<T>
where T: Send,

§

impl<T> Sync for GSAAPI<T>
where T: Sync,

§

impl<T> Unpin for GSAAPI<T>
where T: Unpin,

§

impl<T> UnwindSafe for GSAAPI<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.