Struct google_androidpublisher2::api::InappproductMethods [−][src]
A builder providing access to all methods supported on inappproduct resources.
It is not used directly, but through the AndroidPublisher hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_androidpublisher2 as androidpublisher2; use std::default::Default; use oauth2; use androidpublisher2::AndroidPublisher; let secret: oauth2::ApplicationSecret = Default::default(); let auth = yup_oauth2::InstalledFlowAuthenticator::builder( secret, yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` // to build up your call. let rb = hub.inappproducts();
Implementations
impl<'a, C> InappproductMethods<'a, C>[src]
pub fn delete(
&self,
package_name: &str,
sku: &str
) -> InappproductDeleteCall<'a, C>[src]
&self,
package_name: &str,
sku: &str
) -> InappproductDeleteCall<'a, C>
Create a builder to help you perform the following task:
Delete an in-app product for an app.
Arguments
packageName- Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".sku- Unique identifier for the in-app product.
pub fn get(&self, package_name: &str, sku: &str) -> InappproductGetCall<'a, C>[src]
Create a builder to help you perform the following task:
Returns information about the in-app product specified.
Arguments
packageName- No description provided.sku- Unique identifier for the in-app product.
pub fn insert(
&self,
request: InAppProduct,
package_name: &str
) -> InappproductInsertCall<'a, C>[src]
&self,
request: InAppProduct,
package_name: &str
) -> InappproductInsertCall<'a, C>
Create a builder to help you perform the following task:
Creates a new in-app product for an app.
Arguments
request- No description provided.packageName- Unique identifier for the Android app; for example, "com.spiffygame".
pub fn list(&self, package_name: &str) -> InappproductListCall<'a, C>[src]
Create a builder to help you perform the following task:
List all the in-app products for an Android app, both subscriptions and managed in-app products..
Arguments
packageName- Unique identifier for the Android app with in-app products; for example, "com.spiffygame".
pub fn patch(
&self,
request: InAppProduct,
package_name: &str,
sku: &str
) -> InappproductPatchCall<'a, C>[src]
&self,
request: InAppProduct,
package_name: &str,
sku: &str
) -> InappproductPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the details of an in-app product. This method supports patch semantics.
Arguments
request- No description provided.packageName- Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".sku- Unique identifier for the in-app product.
pub fn update(
&self,
request: InAppProduct,
package_name: &str,
sku: &str
) -> InappproductUpdateCall<'a, C>[src]
&self,
request: InAppProduct,
package_name: &str,
sku: &str
) -> InappproductUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates the details of an in-app product.
Arguments
request- No description provided.packageName- Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".sku- Unique identifier for the in-app product.
Trait Implementations
impl<'a, C> MethodsBuilder for InappproductMethods<'a, C>[src]
Auto Trait Implementations
impl<'a, C> !RefUnwindSafe for InappproductMethods<'a, C>[src]
impl<'a, C> !Send for InappproductMethods<'a, C>[src]
impl<'a, C> !Sync for InappproductMethods<'a, C>[src]
impl<'a, C> Unpin for InappproductMethods<'a, C>[src]
impl<'a, C> !UnwindSafe for InappproductMethods<'a, C>[src]
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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,