pub struct CKReference { /* private fields */ }Expand description
Wraps CKReference.
Implementations§
Source§impl CKReference
impl CKReference
Sourcepub fn new(record_id: CKRecordID, action: CKReferenceAction) -> Self
pub fn new(record_id: CKRecordID, action: CKReferenceAction) -> Self
Creates a wrapper mirroring CKReference.
Sourcepub fn record_id(&self) -> &CKRecordID
pub fn record_id(&self) -> &CKRecordID
Mirrors CKReference.recordID.
Sourcepub const fn action(&self) -> CKReferenceAction
pub const fn action(&self) -> CKReferenceAction
Mirrors CKReference.action.
Sourcepub fn parent(record_id: CKRecordID) -> Self
pub fn parent(record_id: CKRecordID) -> Self
Mirrors CKReference.parent.
Sourcepub fn delete_self(record_id: CKRecordID) -> Self
pub fn delete_self(record_id: CKRecordID) -> Self
Mirrors CKReference.deleteSelf.
Trait Implementations§
Source§impl Clone for CKReference
impl Clone for CKReference
Source§fn clone(&self) -> CKReference
fn clone(&self) -> CKReference
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 CKReference
impl Debug for CKReference
impl Eq for CKReference
Source§impl From<CKReference> for RecordValue
impl From<CKReference> for RecordValue
Source§fn from(value: CKReference) -> Self
fn from(value: CKReference) -> Self
Converts to this type from the input type.
Source§impl Hash for CKReference
impl Hash for CKReference
Source§impl PartialEq for CKReference
impl PartialEq for CKReference
Source§fn eq(&self, other: &CKReference) -> bool
fn eq(&self, other: &CKReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CKReference
Auto Trait Implementations§
impl Freeze for CKReference
impl RefUnwindSafe for CKReference
impl Send for CKReference
impl Sync for CKReference
impl Unpin for CKReference
impl UnsafeUnpin for CKReference
impl UnwindSafe for CKReference
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