[−][src]Struct mail_template::AdditionalCIds
Methods
impl<'a> AdditionalCIds<'a>
[src]
pub fn get(&self, name: &str) -> Option<&ContentId>
[src]
Returns the content id associated with the given name.
If multiple of the maps used to create this type contain the key the first match is returned and all later ones are ignored.
Panic
If the resource exists but is not loaded (i.e. has no content id) this will panic as this can only happen if there is a bug in the mail code, or this type was used externally.
Trait Implementations
impl<'a> Serialize for AdditionalCIds<'a>
[src]
Auto Trait Implementations
impl<'a> Send for AdditionalCIds<'a>
impl<'a> Sync for AdditionalCIds<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> HeaderTryFrom for T
[src]
fn try_from(val: T) -> Result<T, ComponentCreationError>
[src]
impl<F, T> HeaderTryInto for F where
T: HeaderTryFrom<F>,
[src]
T: HeaderTryFrom<F>,