pub struct NullableScopedInstallation {
pub permissions: Box<AppPermissions>,
pub repository_selection: RepositorySelection,
pub single_file_name: Option<String>,
pub has_multiple_single_files: Option<bool>,
pub single_file_paths: Option<Vec<String>>,
pub repositories_url: String,
pub account: Box<SimpleUser>,
}
Fields§
§permissions: Box<AppPermissions>
§repository_selection: RepositorySelection
Describe whether all repositories have been selected or there’s a selection involved
single_file_name: Option<String>
§has_multiple_single_files: Option<bool>
§single_file_paths: Option<Vec<String>>
§repositories_url: String
§account: Box<SimpleUser>
Implementations§
Source§impl NullableScopedInstallation
impl NullableScopedInstallation
pub fn new( permissions: AppPermissions, repository_selection: RepositorySelection, single_file_name: Option<String>, repositories_url: String, account: SimpleUser, ) -> NullableScopedInstallation
Trait Implementations§
Source§impl Clone for NullableScopedInstallation
impl Clone for NullableScopedInstallation
Source§fn clone(&self) -> NullableScopedInstallation
fn clone(&self) -> NullableScopedInstallation
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 NullableScopedInstallation
impl Debug for NullableScopedInstallation
Source§impl Default for NullableScopedInstallation
impl Default for NullableScopedInstallation
Source§fn default() -> NullableScopedInstallation
fn default() -> NullableScopedInstallation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableScopedInstallation
impl<'de> Deserialize<'de> for NullableScopedInstallation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for NullableScopedInstallation
Auto Trait Implementations§
impl Freeze for NullableScopedInstallation
impl RefUnwindSafe for NullableScopedInstallation
impl Send for NullableScopedInstallation
impl Sync for NullableScopedInstallation
impl Unpin for NullableScopedInstallation
impl UnwindSafe for NullableScopedInstallation
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