pub struct AddBitbucket {
pub provider_type: ProviderType,
pub provider_token: String,
pub login: String,
}Expand description
AddBitbucket : Добавление аккаунта Bitbucket
Fields§
§provider_type: ProviderTypeТип провайдера.
provider_token: StringТокен доступа.
Для Bitbucket необходимо использовать ‘App password’. Инструкции по созданию можно найти в документации Bitbucket.
Установите следующие разрешения: Account: Read, Projects: Read, Repositories: Read, Webhooks: Read and write
login: StringЛогин пользователя Bitbucket.
Implementations§
Source§impl AddBitbucket
impl AddBitbucket
Sourcepub fn new(
provider_type: ProviderType,
provider_token: String,
login: String,
) -> AddBitbucket
pub fn new( provider_type: ProviderType, provider_token: String, login: String, ) -> AddBitbucket
Добавление аккаунта Bitbucket
Trait Implementations§
Source§impl Clone for AddBitbucket
impl Clone for AddBitbucket
Source§fn clone(&self) -> AddBitbucket
fn clone(&self) -> AddBitbucket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddBitbucket
impl Debug for AddBitbucket
Source§impl Default for AddBitbucket
impl Default for AddBitbucket
Source§fn default() -> AddBitbucket
fn default() -> AddBitbucket
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddBitbucket
impl<'de> Deserialize<'de> for AddBitbucket
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
Source§impl PartialEq for AddBitbucket
impl PartialEq for AddBitbucket
Source§fn eq(&self, other: &AddBitbucket) -> bool
fn eq(&self, other: &AddBitbucket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddBitbucket
impl Serialize for AddBitbucket
impl StructuralPartialEq for AddBitbucket
Auto Trait Implementations§
impl Freeze for AddBitbucket
impl RefUnwindSafe for AddBitbucket
impl Send for AddBitbucket
impl Sync for AddBitbucket
impl Unpin for AddBitbucket
impl UnsafeUnpin for AddBitbucket
impl UnwindSafe for AddBitbucket
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