pub struct AddGit {
pub provider_type: ProviderType,
pub url: String,
pub login: Option<String>,
pub password: Option<String>,
}Fields§
§provider_type: ProviderTypeТип провайдера.
url: StringВнешний url адрес репозитория.
login: Option<String>Логин провайдера. Используется при добавлении приватных репозиториев
password: Option<String>Пароль или токен провайдера. Обязателен при добавлении приватных репозиториев. Подробнее в нашей документации.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddGit
impl<'de> Deserialize<'de> for AddGit
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 AddGit
Auto Trait Implementations§
impl Freeze for AddGit
impl RefUnwindSafe for AddGit
impl Send for AddGit
impl Sync for AddGit
impl Unpin for AddGit
impl UnsafeUnpin for AddGit
impl UnwindSafe for AddGit
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