pub struct Collection {
pub name: String,
pub parent: LrId,
pub system_only: bool,
pub content: Option<Content>,
/* private fields */
}Expand description
A collection as defined in Lightroom
Fields§
§name: StringName of the collection (displayed in the UI)
parent: LrIdParent of the Collection
system_only: boolis system only (seems to be the Quick Pick collection)
content: Option<Content>content definition of the collection
Implementations§
Source§impl Collection
impl Collection
Sourcepub fn read_content(&self, conn: &Connection) -> Content
pub fn read_content(&self, conn: &Connection) -> Content
Read the content for this collection from the database.
Auto Trait Implementations§
impl Freeze for Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more