Skip to main content

find

Function find 

Source
pub fn find<'a>(
    attachments: &'a [Attachment],
    name_or_id: &str,
    parent: &Parent,
) -> Result<&'a Attachment>
Expand description

An attachment by ID, or by a name only one attachment has.