You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/bee/bee-block/src/output
    
    the code of the file until where you have to start completion: // Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

mod alias_id;

mod chain_id;

mod foundry_id;
mod inputs_commitment;
mod native_token;
mod nft_id;
mod output_id;
mod rent;
mod state_transition;
mod token_id;
mod token_scheme;
mod treasur
    
        fn from(value: &Output) -> Self {
            match value {
                Output::Treasury(o) => OutputDto::Treasury(o.into()),
                Output::Basic(o) => OutputDto::Basic(o.into()),
                Output::Alias(o) => OutputDto::Alias(o.into()),
                Output::Foundry(o) => OutputDto::Foundry(o.into()),
                Output::Nft(o) => OutputDto::Nft(o.into()),
            }
        }