pub struct ClaimInitArgs {
pub host: String,
pub owner: String,
pub repo: String,
pub claim_id: String,
pub claimant_name: String,
pub asserted_role: String,
pub contact: Option<String>,
pub record_sources: Vec<String>,
pub canonical_repo_url: Option<String>,
pub review_md: bool,
pub force: bool,
}Fields§
§host: String§owner: String§repo: String§claim_id: String§claimant_name: String§asserted_role: String§contact: Option<String>§record_sources: Vec<String>§canonical_repo_url: Option<String>§review_md: bool§force: boolAuto Trait Implementations§
impl Freeze for ClaimInitArgs
impl RefUnwindSafe for ClaimInitArgs
impl Send for ClaimInitArgs
impl Sync for ClaimInitArgs
impl Unpin for ClaimInitArgs
impl UnsafeUnpin for ClaimInitArgs
impl UnwindSafe for ClaimInitArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more