pub struct ClaimParams {
pub id: String,
pub force: bool,
pub agent: Option<String>,
}Expand description
issue/claim params. force defaults to false.
Fields§
§id: StringIssue id.
force: boolTake over an existing claim.
agent: Option<String>Override the connection agent.
Trait Implementations§
Source§impl Clone for ClaimParams
impl Clone for ClaimParams
Source§fn clone(&self) -> ClaimParams
fn clone(&self) -> ClaimParams
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 ClaimParams
impl Debug for ClaimParams
Source§impl<'de> Deserialize<'de> for ClaimParams
impl<'de> Deserialize<'de> for ClaimParams
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 Eq for ClaimParams
Source§impl PartialEq for ClaimParams
impl PartialEq for ClaimParams
Source§impl Serialize for ClaimParams
impl Serialize for ClaimParams
impl StructuralPartialEq for ClaimParams
Auto Trait Implementations§
impl Freeze for ClaimParams
impl RefUnwindSafe for ClaimParams
impl Send for ClaimParams
impl Sync for ClaimParams
impl Unpin for ClaimParams
impl UnsafeUnpin for ClaimParams
impl UnwindSafe for ClaimParams
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.