#[non_exhaustive]pub struct AndroidApplication {
pub sha1_fingerprint: String,
pub package_name: String,
/* private fields */
}Expand description
Identifier of an Android application for key use.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sha1_fingerprint: StringThe SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
package_name: StringThe package name of the application.
Implementations§
Source§impl AndroidApplication
impl AndroidApplication
pub fn new() -> Self
Sourcepub fn set_sha1_fingerprint<T: Into<String>>(self, v: T) -> Self
pub fn set_sha1_fingerprint<T: Into<String>>(self, v: T) -> Self
Sets the value of sha1_fingerprint.
§Example
ⓘ
let x = AndroidApplication::new().set_sha1_fingerprint("example");Sourcepub fn set_package_name<T: Into<String>>(self, v: T) -> Self
pub fn set_package_name<T: Into<String>>(self, v: T) -> Self
Sets the value of package_name.
§Example
ⓘ
let x = AndroidApplication::new().set_package_name("example");Trait Implementations§
Source§impl Clone for AndroidApplication
impl Clone for AndroidApplication
Source§fn clone(&self) -> AndroidApplication
fn clone(&self) -> AndroidApplication
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 Debug for AndroidApplication
impl Debug for AndroidApplication
Source§impl Default for AndroidApplication
impl Default for AndroidApplication
Source§fn default() -> AndroidApplication
fn default() -> AndroidApplication
Returns the “default value” for a type. Read more
Source§impl Message for AndroidApplication
impl Message for AndroidApplication
Source§impl PartialEq for AndroidApplication
impl PartialEq for AndroidApplication
impl StructuralPartialEq for AndroidApplication
Auto Trait Implementations§
impl Freeze for AndroidApplication
impl RefUnwindSafe for AndroidApplication
impl Send for AndroidApplication
impl Sync for AndroidApplication
impl Unpin for AndroidApplication
impl UnsafeUnpin for AndroidApplication
impl UnwindSafe for AndroidApplication
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