Struct tame_gcs::types::ObjectName [−][src]
A wrapper for strings meant to be used as object names, to validate that they follow Object Name Requirements
Implementations
impl<'a> ObjectName<'a>
[src][−]
pub fn non_validated<S: AsRef<str> + ?Sized>(name: &'a S) -> Self
[src][−]
Creates an ObjectName without validating it, meaning that invalid names will result in API failures when requests are actually made to GCS instead.
Trait Implementations
impl<'a> AsRef<[u8]> for ObjectName<'a>
[src][+]
impl<'a> AsRef<ObjectName<'a>> for ObjectId<'a>
[src][+]
impl<'a> AsRef<str> for ObjectName<'a>
[src][+]
impl<'a> Debug for ObjectName<'a>
[src][+]
impl<'a> Display for ObjectName<'a>
[src][+]
impl<'a> TryFrom<&'a str> for ObjectName<'a>
[src][+]
impl<'a> TryFrom<String> for ObjectName<'a>
[src][+]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ObjectName<'a>
impl<'a> Send for ObjectName<'a>
impl<'a> Sync for ObjectName<'a>
impl<'a> Unpin for ObjectName<'a>
impl<'a> UnwindSafe for ObjectName<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,