[−][src]Struct ironoxide::group::GroupId
Group ID. Unique within a segment. Must match the regex ^[a-zA-Z0-9_.$#|@/:;=+'-]+$
Methods
impl GroupId
[src]
pub fn id(&self) -> &String
[src]
pub fn unsafe_from_string(id: String) -> GroupId
[src]
Create a GroupId from a string with no validation. Useful for ids coming back from the web service.
Trait Implementations
impl<'_> From<&'_ GroupId> for UserOrGroup
[src]
impl PartialEq<GroupId> for GroupId
[src]
impl Clone for GroupId
[src]
fn clone(&self) -> GroupId
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GroupId
[src]
impl Debug for GroupId
[src]
impl TryFrom<String> for GroupId
[src]
type Error = IronOxideErr
The type returned in the event of a conversion error.
fn try_from(group_id: String) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ str> for GroupId
[src]
type Error = IronOxideErr
The type returned in the event of a conversion error.
fn try_from(group_id: &str) -> Result<Self, Self::Error>
[src]
impl Hash for GroupId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Serialize for GroupId
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GroupId
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for GroupId
impl Sync for GroupId
impl Send for GroupId
impl RefUnwindSafe for GroupId
impl UnwindSafe for GroupId
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,