Struct tame_gcs::types::ObjectId [−][src]
A concrete object id which contains a valid bucket and object name which fully specifies an object
Fields
bucket: BucketName<'a>
object: ObjectName<'a>
Implementations
impl<'a> ObjectId<'a>
[src]
pub fn new<B: ?Sized, O: ?Sized>(bucket: B, object: O) -> Result<Self, Error> where
B: TryInto<BucketName<'a>, Error = Error>,
O: TryInto<ObjectName<'a>, Error = Error>,
[src]
B: TryInto<BucketName<'a>, Error = Error>,
O: TryInto<ObjectName<'a>, Error = Error>,
Trait Implementations
impl<'a> AsRef<BucketName<'a>> for ObjectId<'a>
[src]
fn as_ref(&self) -> &BucketName<'a>
[src]
impl<'a> AsRef<ObjectName<'a>> for ObjectId<'a>
[src]
fn as_ref(&self) -> &ObjectName<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ObjectId<'a>
impl<'a> Send for ObjectId<'a>
impl<'a> Sync for ObjectId<'a>
impl<'a> Unpin for ObjectId<'a>
impl<'a> UnwindSafe for ObjectId<'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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ObjectIdentifier<'a> for T where
T: AsRef<BucketName<'a>> + AsRef<ObjectName<'a>>,
[src]
T: AsRef<BucketName<'a>> + AsRef<ObjectName<'a>>,
pub fn bucket(&Self) -> &BucketName<'a>
[src]
pub fn object(&Self) -> &ObjectName<'a>
[src]
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.
pub 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>,