pub struct IntegrityJobOwner(/* private fields */);Expand description
Bounded authorization identity persisted with one job.
Implementations§
Source§impl IntegrityJobOwner
impl IntegrityJobOwner
Sourcepub fn new(value: impl Into<String>) -> Result<Self, IntegrityJobError>
pub fn new(value: impl Into<String>) -> Result<Self, IntegrityJobError>
Admit one nonempty bounded owner identity.
§Errors
Returns IntegrityJobError::InvalidOwner when the identity is empty
or exceeds the protocol bound.
Trait Implementations§
Source§impl CandidType for IntegrityJobOwner
impl CandidType for IntegrityJobOwner
Source§impl Clone for IntegrityJobOwner
impl Clone for IntegrityJobOwner
Source§fn clone(&self) -> IntegrityJobOwner
fn clone(&self) -> IntegrityJobOwner
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 IntegrityJobOwner
impl Debug for IntegrityJobOwner
Source§impl<'de> Deserialize<'de> for IntegrityJobOwner
impl<'de> Deserialize<'de> for IntegrityJobOwner
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 IntegrityJobOwner
Source§impl PartialEq for IntegrityJobOwner
impl PartialEq for IntegrityJobOwner
impl StructuralPartialEq for IntegrityJobOwner
Auto Trait Implementations§
impl Freeze for IntegrityJobOwner
impl RefUnwindSafe for IntegrityJobOwner
impl Send for IntegrityJobOwner
impl Sync for IntegrityJobOwner
impl Unpin for IntegrityJobOwner
impl UnsafeUnpin for IntegrityJobOwner
impl UnwindSafe for IntegrityJobOwner
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