#[repr(transparent)]pub struct NSURLRequestAttribution(pub NSUInteger);
Available on crate feature
NSURLRequest
only.Expand description
The NSURLRequestAttribution enum is used to indicate whether the user or developer specified the URL.
by the developer. This is the default value for an NSURLRequest when created.
the user.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Trait Implementations§
Source§impl Clone for NSURLRequestAttribution
impl Clone for NSURLRequestAttribution
Source§fn clone(&self) -> NSURLRequestAttribution
fn clone(&self) -> NSURLRequestAttribution
Returns a copy of the value. Read more
1.0.0 · 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 NSURLRequestAttribution
impl Debug for NSURLRequestAttribution
Source§impl Encode for NSURLRequestAttribution
impl Encode for NSURLRequestAttribution
Source§impl Hash for NSURLRequestAttribution
impl Hash for NSURLRequestAttribution
Source§impl Ord for NSURLRequestAttribution
impl Ord for NSURLRequestAttribution
Source§fn cmp(&self, other: &NSURLRequestAttribution) -> Ordering
fn cmp(&self, other: &NSURLRequestAttribution) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NSURLRequestAttribution
impl PartialEq for NSURLRequestAttribution
Source§impl PartialOrd for NSURLRequestAttribution
impl PartialOrd for NSURLRequestAttribution
Source§impl RefEncode for NSURLRequestAttribution
impl RefEncode for NSURLRequestAttribution
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSURLRequestAttribution
impl Eq for NSURLRequestAttribution
impl StructuralPartialEq for NSURLRequestAttribution
Auto Trait Implementations§
impl Freeze for NSURLRequestAttribution
impl RefUnwindSafe for NSURLRequestAttribution
impl Send for NSURLRequestAttribution
impl Sync for NSURLRequestAttribution
impl Unpin for NSURLRequestAttribution
impl UnwindSafe for NSURLRequestAttribution
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,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.